Provides the WazuhAgentFluentForwardKeepaliveConfiguration which allows to parse the keepalive subsection of the fluent-forward section of the Wazuh local configuration (ossec.conf).

class WazuhAgentFluentForwardKeepaliveConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s fluent-forward.keepalive configuration section.

Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/fluent-forward.html#keepalive

count: int | None#

The maximum number of probes that may fail before the connection will be closed.

enabled: bool = True#

Indicates whether TCP keepalive is activated or not.

idle: int | None#

Number of seconds the agent will wait before starting to send probes.

interval: int | None#

Interval (in seconds) between probes.