Provides the WazuhInternalMonitordConfiguration which allows to parse the
monitord section of the Wazuh internal configuration.
- class WazuhInternalMonitordConfiguration(**kwargs)#
Bases:
objectObject representation of the wazuh agent’s internal option monitord section.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/internal-options.html#monitord
- compress: bool = True#
Toggle to enable or disable log file compression.
- daily_rotations: int | None#
Maximum number of rotations per day for internal logs.
- day_wait: int | None#
Number of seconds to wait before compressing or signing the files.
- debug: int | None#
The debug log level configuration of the wazuh agent.
0: No debug output
1: Standard debug output
2: Verbose debug output
- delete_old_agents: int | None#
Number of minutes before deleting an old disconnected agent. This is a time-lapse after the agent is considered as disconnected because of the disconnection time.
- keep_log_days: int | None#
Number of days to keep rotated internal logs.
- monitor_agents: bool = True#
Toggle to enable or disable monitoring of agents.
- rotate_log: bool = True#
Toggle to enable or disable daily rotation of internal logs.
- sign: bool = True#
Toggle to enable or disable signing the log files.
- size_rotate: int | None#
Maximum size in Megabytes of internal logs to trigger rotation.
WazuhInternalMonitordConfiguration.compressWazuhInternalMonitordConfiguration.daily_rotationsWazuhInternalMonitordConfiguration.day_waitWazuhInternalMonitordConfiguration.debugWazuhInternalMonitordConfiguration.delete_old_agentsWazuhInternalMonitordConfiguration.keep_log_daysWazuhInternalMonitordConfiguration.monitor_agentsWazuhInternalMonitordConfiguration.rotate_logWazuhInternalMonitordConfiguration.signWazuhInternalMonitordConfiguration.size_rotate