updated zabbix state
This commit is contained in:
parent
55b82fa72c
commit
a7996a325a
@ -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"
|
||||||
|
@ -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 %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user