paulbsd-salt/states/zabbix/defaults.yaml

37 lines
881 B
YAML
Raw Normal View History

2020-09-27 22:16:06 +02:00
---
2020-10-25 16:35:57 +01:00
zabbix:
server:
enabled: false
pkgs:
- zabbix-frontend-php
- zabbix-server-pgsql
config:
DBHost: zabbix
DBName: zabbix
DBPassword: zabbix
DBUser: zabbix
LogFile: /var/log/zabbix/zabbix_server.log
LogType: file
PidFile: /run/zabbix/zabbix_server.pid
agent:
enabled: true
pkgs:
2020-11-04 23:05:21 +01:00
- python3-pyzabbix
2020-10-25 16:35:57 +01:00
- zabbix-agent
2021-03-22 19:09:32 +01:00
#- zabbix-get
#- zabbix-sender
2020-10-25 16:35:57 +01:00
config:
2020-11-04 23:05:21 +01:00
Hostname: {{ salt["grains.get"]("fqdn") }}
Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf"
2020-10-25 16:35:57 +01:00
LogFile: /var/log/zabbix/zabbix_agentd.log
LogFileSize: 0
LogType: file
PidFile: /var/run/zabbix/zabbix_agentd.pid
Server: 127.0.0.1
ServerActive: zabbix.paulbsd.com
2020-11-04 23:05:21 +01:00
scripts:
apt:
name: apt.py
userparameters:
- "apt.updates,/etc/zabbix/scripts/apt.py"