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: pkgs:
- python3-pyzabbix - python3-pyzabbix
- zabbix-agent - zabbix-agent
- zabbix-get #- zabbix-get
- zabbix-sender #- zabbix-sender
config: config:
Hostname: {{ salt["grains.get"]("fqdn") }} Hostname: {{ salt["grains.get"]("fqdn") }}
Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf" Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf"

View File

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

View File

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