Skip to content

Commit a8b2335

Browse files
authored
Merge pull request #8485 from wazuh/bug/idr101-download-from-remote-location-4.9
Fix the section Download configuration files from remote location
2 parents 3d9bb7f + 5d428f0 commit a8b2335

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

source/user-manual/reference/centralized-configuration.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Whether for any reason you don't want to apply the shared configuration in a spe
321321
Download configuration files from remote location
322322
-------------------------------------------------
323323

324-
The Wazuh manager has the capability to download configuration files like ``merged.mg`` as well as other files to be merged for the groups that you want.
324+
The Wazuh manager can download configuration files such as ``merged.mg`` and other files to be merged for selected groups.
325325

326326
To use this feature, we need to put a yaml file named ``files.yml`` under the directory ``/var/ossec/etc/shared/``. When the **manager** starts, it will read and parse the file.
327327

@@ -342,15 +342,7 @@ The ``files.yml`` has the following structure as shown in the following example:
342342
agent.conf: https://example.com/agent.conf
343343
poll: 200
344344
345-
agents:
346-
001: my_group_1
347-
002: my_group_2
348-
003: another_group
349-
350-
Here we can distinguish the two main blocks: ``groups`` and ``agents``.
351-
352-
353-
1. In the ``groups`` block we define the group name from which we want to download the files.
345+
The ``groups`` block defines the group name from which to download the files.
354346

355347
- If the group doesn't exist, it will be created.
356348
- If a file has the name ``merged.mg``, only this file will be downloaded. Then it will be validated.
@@ -393,4 +385,4 @@ The information about the parsing is shown on the ``/var/ossec/logs/ossec.log``
393385
.. code-block:: none
394386
:class: output
395387
396-
ERROR: The downloaded file '/var/download/merged.mg' is corrupted.
388+
ERROR: The downloaded file '/var/download/merged.mg' is corrupted.

0 commit comments

Comments
 (0)