updated zabbix state

This commit is contained in:
Paul 2021-03-22 19:09:32 +01:00
parent 55b82fa72c
commit a7996a325a
3 changed files with 6 additions and 6 deletions

View File

@ -18,8 +18,8 @@ zabbix:
pkgs:
- python3-pyzabbix
- zabbix-agent
- zabbix-get
- zabbix-sender
#- zabbix-get
#- zabbix-sender
config:
Hostname: {{ salt["grains.get"]("fqdn") }}
Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf"

View File

@ -1,4 +1,4 @@
{%- from "zabbix/map.jinja" import zabbix with context -%}
{%- for k, v in zabbix.agent.config.items() %}
{{ k }}={{ v }}
{%- for key, value in zabbix.agent.config.items() %}
{{ key }}={{ value }}
{%- endfor %}

View File

@ -1,4 +1,4 @@
{%- from "zabbix/map.jinja" import zabbix with context %}
{%- for k, v in zabbix.server.config.items() %}
{{ k }}={{ v }}
{%- for key, value in zabbix.server.config.items() %}
{{ key }}={{ value }}
{%- endfor %}