37 lines
879 B
YAML
37 lines
879 B
YAML
---
|
|
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:
|
|
- python3-pyzabbix
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- zabbix-sender
|
|
config:
|
|
Hostname: {{ salt["grains.get"]("fqdn") }}
|
|
Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf"
|
|
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
|
|
scripts:
|
|
apt:
|
|
name: apt.py
|
|
userparameters:
|
|
- "apt.updates,/etc/zabbix/scripts/apt.py"
|