This commit is contained in:
parent
ca1e8a59b8
commit
94fa012ab0
@ -36,7 +36,9 @@ zabbix:
|
||||
ForceActiveChecksOnStart: 1
|
||||
PersistentBufferFile: /var/lib/zabbix/buffer.sqlite3
|
||||
Hostname: localhost
|
||||
Include: "/etc/zabbix/zabbix_agent2.d/*.conf"
|
||||
Include:
|
||||
- "/etc/zabbix/zabbix_agent2.d/*.conf"
|
||||
- "/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf"
|
||||
LogFile: /var/log/zabbix/zabbix_agent2.log
|
||||
LogFileSize: 0
|
||||
LogType: file
|
||||
|
@ -1,4 +1,10 @@
|
||||
{%- from "zabbix/map.jinja" import zabbix with context -%}
|
||||
{%- for key, value in zabbix.agent2.config.items() %}
|
||||
{%- for key, value in zabbix.agent2.config.items() -%}
|
||||
{%- if value is sequence and value is not mapping and value is not string -%}
|
||||
{%- for v in value %}
|
||||
{{ key }}={{ v }}
|
||||
{%- endfor -%}
|
||||
{%- else %}
|
||||
{{ key }}={{ value }}
|
||||
{%- endif %}
|
||||
{%- endfor -%}
|
Loading…
Reference in New Issue
Block a user