Added condition to ossec.conf template
This commit is contained in:
parent
c05d045043
commit
dd77cb9c20
@ -16,6 +16,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if manager.protocol is defined %}
|
{% if manager.protocol is defined %}
|
||||||
<protocol>{{ manager.protocol }}</protocol>
|
<protocol>{{ manager.protocol }}</protocol>
|
||||||
|
{% endif %}
|
||||||
|
{% if manager.max_retries is defined and manager.retry_interval is defined %}
|
||||||
<max_retries>{{ manager.max_retries }}</max_retries>
|
<max_retries>{{ manager.max_retries }}</max_retries>
|
||||||
<retry_interval>{{ manager.retry_interval }}</retry_interval>
|
<retry_interval>{{ manager.retry_interval }}</retry_interval>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user