Skip to content

Commit 1755d5a

Browse files
committed
remove remoted.guess_agent_group option from doc
1 parent 11324aa commit 1755d5a

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

source/user-manual/agent/agent-management/grouping-agents.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,17 +229,13 @@ Below are the steps to assign agents to a group with a specific configuration:
229229

230230
#. After connecting to the Wazuh manager, each agent assigned to the group will receive the files contained in the ``/var/ossec/etc/shared/dbms/`` folder from the Wazuh manager, including the ``agent.conf`` file that was modified in the previous step. The length of time it takes for the Wazuh manager to push these files to the Wazuh agents depends on the size of the files, the number of agents in the group, and the connection protocol used. For example, depending on network bandwidth and performance, it may take 8 minutes to receive a 10 MB folder (excluding ``merged.mg`` file) on 100 agents using UDP. However, if TCP is used, it may take less time.
231231

232-
#. Once a specific agent belongs to a group, it will not be automatically reassigned to this group even if it is re-enrolled under another name or ID. After re-enrollment, it will be added to the default group which is the default behavior. If you want the Wazuh agent to be automatically reassigned after re-enrollment, it must be explicitly activated by the user in the ``/var/ossec/etc/local_internal_options.conf`` file by adding the option ``remoted.guess_agent_group=1`` (see section ``remoted`` in :doc:`internal options </user-manual/reference/internal-options>`).
233-
234-
When this option is added, on re-enrollment, the checksum of the ``merged.mg`` file sent by the Wazuh agent is compared with that of the other agents enrolled with the Wazuh manager.
232+
#. Once a specific agent belongs to a group, it will not be automatically reassigned to this group even if it is re-enrolled under another name or ID. After re-enrollment, it will be added to the default group.
235233

236234
merged.mg
237235
^^^^^^^^^
238236

239237
When a Wazuh agent is enrolled in the Wazuh manager for the first time, the Wazuh manager generates a ``merged.mg`` file based on the Wazuh agent's configuration and group membership. Whenever the Wazuh agent's configuration or group membership changes, the Wazuh manager updates the ``merged.mg`` file and sends it to the Wazuh agent.
240238

241-
The ``merged.mg`` file plays a role in automatic re-assignment of agents to their original groups after re-enrollment (with the ``remoted.guess_agent_group=1`` option enabled). The checksum of the ``merged.mg`` file is used for comparison with other agents to determine the appropriate group.
242-
243239
On the Wazuh server, the file is located at ``var/ossec/etc/shared/merged.mg``.
244240

245241
On the Wazuh agent, it is located at ``/var/ossec/etc/shared/merged.mg`` for Linux and ``C:\Program Files (x86)\ossec-agent\shared\merged.mg`` on Windows.

source/user-manual/reference/internal-options.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -828,16 +828,6 @@ Remoted
828828
+ + +--------------------------------------------------------------+
829829
| | | Any other integer between 1 and 86400 |
830830
+-----------------------------------+---------------+--------------------------------------------------------------+
831-
| **remoted.guess_agent_group** | Description | Toggle to enable or disable the guessing of the group to |
832-
| | | which the agent belongs when registering it again. |
833-
| | | |
834-
| | | .. note:: Since version 4.4.0, in a cluster architecture, |
835-
| | | this setting only applies to the master node. |
836-
+ +---------------+--------------------------------------------------------------+
837-
| | Default value | 0 |
838-
+ +---------------+--------------------------------------------------------------+
839-
| | Allowed values| 0, 1 |
840-
+-----------------------------------+---------------+--------------------------------------------------------------+
841831
| **remoted.receive_chunk** | Description | | Reception buffer size for TCP (bytes). |
842832
| | | | Amount of data that Remoted can receive per operation. |
843833
+ +---------------+--------------------------------------------------------------+

0 commit comments

Comments
 (0)