Wazuh agent: including more client options.

Added the ability to change protocol, port, notify_time and
time-reconnect
This commit is contained in:
Miguelangel Freitas 2017-07-30 17:28:33 -04:00
parent 7e2cd943bd
commit 0f72f5f606
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,6 @@
---
wazuh_manager_ip: 127.0.0.1
wazuh_manager_proto: udp
wazuh_authd_port: 1515
wazuh_register_client: false
wazuh_agent_config:

View File

@ -11,7 +11,14 @@
{% if wazuh_profile is defined %}
<config-profile>{{ wazuh_profile }}</config-profile>
{% 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>
<rootcheck>