Wazuh agent: including more client options.
Added the ability to change protocol, port, notify_time and time-reconnect
This commit is contained in:
parent
7e2cd943bd
commit
0f72f5f606
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
wazuh_manager_ip: 127.0.0.1
|
wazuh_manager_ip: 127.0.0.1
|
||||||
|
wazuh_manager_proto: udp
|
||||||
wazuh_authd_port: 1515
|
wazuh_authd_port: 1515
|
||||||
wazuh_register_client: false
|
wazuh_register_client: false
|
||||||
wazuh_agent_config:
|
wazuh_agent_config:
|
||||||
|
|||||||
@ -11,7 +11,14 @@
|
|||||||
{% if wazuh_profile is defined %}
|
{% if wazuh_profile is defined %}
|
||||||
<config-profile>{{ wazuh_profile }}</config-profile>
|
<config-profile>{{ wazuh_profile }}</config-profile>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<protocol>udp</protocol>
|
<protocol>{{ wazuh_manager_proto }}</protocol>
|
||||||
|
{% if wazuh_manager_port is defined %}
|
||||||
|
<port>{{ wazuh_manager_port }}</port>
|
||||||
|
{% endif %}
|
||||||
|
{% if wazuh_notify_time is defined and wazuh_time_reconnect is defined %}
|
||||||
|
<notify_time>{{ wazuh_notify_time }}</notify_time>
|
||||||
|
<time-reconnect>{{ wazuh_time_reconnect }}</time-reconnect>
|
||||||
|
{% endif %}
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
<rootcheck>
|
<rootcheck>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user