updated zabbix state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2025-06-05 14:57:00 +02:00
parent ca1e8a59b8
commit 94fa012ab0
2 changed files with 10 additions and 2 deletions

View File

@ -36,7 +36,9 @@ zabbix:
ForceActiveChecksOnStart: 1 ForceActiveChecksOnStart: 1
PersistentBufferFile: /var/lib/zabbix/buffer.sqlite3 PersistentBufferFile: /var/lib/zabbix/buffer.sqlite3
Hostname: localhost 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 LogFile: /var/log/zabbix/zabbix_agent2.log
LogFileSize: 0 LogFileSize: 0
LogType: file LogType: file

View File

@ -1,4 +1,10 @@
{%- from "zabbix/map.jinja" import zabbix with context -%} {%- from "zabbix/map.jinja" import zabbix with context -%}
{%- for key, value in zabbix.agent2.config.items() %} {%- for key, value in zabbix.agent2.config.items() -%}
{{ key }}={{ value }} {%- 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 -%} {%- endfor -%}