docs/ref/modules/syscollector/configuration.md
Syscollector is configured in the agent's ossec.conf file using the <wodle name="syscollector"> section.
<wodle name="syscollector">
<disabled>no</disabled>
<interval>1h</interval>
<scan_on_start>yes</scan_on_start>
<!-- Inventory categories -->
<hardware>yes</hardware>
<os>yes</os>
<network>yes</network>
<packages>yes</packages>
<ports all="yes">yes</ports>
<processes>yes</processes>
<users>yes</users>
<groups>yes</groups>
<services>yes</services>
<browser_extensions>yes</browser_extensions>
<hotfixes>yes</hotfixes> <!-- Windows only -->
<!-- Rate limiting -->
<synchronization>
<max_eps>10</max_eps>
</synchronization>
</wodle>
| Option | Default | Description |
|---|---|---|
disabled | no | Enable/disable the module |
interval | 1h | Scan interval (minimum 60s) |
scan_on_start | yes | Scan when agent starts |
| Category | Default | Description |
|---|---|---|
hardware | yes | CPU, memory, storage |
os | yes | Operating system info |
network | yes | Network interfaces |
packages | yes | Installed software |
ports | yes | Open network ports |
processes | yes | Running processes |
users | yes | System user accounts |
groups | yes | System groups |
services | yes | System services |
browser_extensions | yes | Browser add-ons |
hotfixes | yes | Windows updates (Windows only) |
| Option | Default | Range | Description |
|---|---|---|---|
max_eps | 10 | 0-1000000 | Events per second limit |
Note: The ports element accepts an optional all attribute:
<ports all="yes">: Scan all ports<ports all="no">: Scan only listening ports<wodle name="syscollector">
<disabled>no</disabled>
<interval>24h</interval>
<hardware>yes</hardware>
<os>yes</os>
<packages>yes</packages>
<!-- Disable resource-intensive scans -->
<processes>no</processes>
<ports>no</ports>
<browser_extensions>no</browser_extensions>
</wodle>
<wodle name="syscollector">
<disabled>no</disabled>
<interval>1h</interval>
<packages>yes</packages>
<services>yes</services>
<users>yes</users>
<groups>yes</groups>
<hotfixes>yes</hotfixes>
<ports all="yes">yes</ports>
</wodle>
<wodle name="syscollector">
<disabled>no</disabled>
<interval>5m</interval>
<processes>yes</processes>
<ports>yes</ports>
<synchronization>
<max_eps>50</max_eps>
</synchronization>
</wodle>
hotfixes category is Windows-specificValidate configuration syntax:
/var/ossec/bin/wazuh-agentd -t
Monitor for errors:
tail -f /var/ossec/logs/ossec.log | grep syscollector