updated zabbix state

This commit is contained in:
Paul 2022-07-27 23:49:18 +02:00
parent 8d8f5da98b
commit 04f3573c90
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
--- ---
zabbix: zabbix:
server: server:
enabled: false enable: false
user: zabbix user: zabbix
group: zabbix group: zabbix
pkgs: pkgs:
@ -11,12 +11,13 @@ zabbix:
DBHost: zabbix DBHost: zabbix
DBName: zabbix DBName: zabbix
DBPassword: zabbix DBPassword: zabbix
DBPort: 5433
DBUser: zabbix DBUser: zabbix
LogFile: /var/log/zabbix/zabbix_server.log LogFile: /var/log/zabbix/zabbix_server.log
LogType: file LogType: file
PidFile: /run/zabbix/zabbix_server.pid PidFile: /run/zabbix/zabbix_server.pid
agent: agent:
enabled: true enable: true
user: zabbix user: zabbix
group: zabbix group: zabbix
pkgs: pkgs:

View File

@ -1,13 +1,13 @@
--- ---
{%- from "zabbix/map.jinja" import zabbix with context %} {%- from "zabbix/map.jinja" import zabbix with context %}
include: include:
{% if zabbix.server.enabled %} {% if zabbix.server.enable %}
- repos - repos
- postgresql - postgresql
- php - php
- .server - .server
{% endif %} {% endif %}
{% if zabbix.agent.enabled %} {% if zabbix.agent.enable %}
- repos - repos
- .agent - .agent
{% endif %} {% endif %}