paulbsd-salt/states/zabbix/defaults.yaml
Paul 56f27dc9d9
All checks were successful
continuous-integration/drone/push Build is passing
updated zabbix state
2024-09-28 14:24:54 +02:00

48 lines
1.1 KiB
YAML

---
zabbix:
server:
enable: false
user: zabbix
group: zabbix
pkgs:
- zabbix-frontend-php
- zabbix-server-pgsql
config:
DBHost: zabbix
DBName: zabbix
DBPassword: zabbix
DBPort: 5433
DBUser: zabbix
ListenPort: 10051
LogFile: /var/log/zabbix/zabbix_server.log
LogType: file
PidFile: /run/zabbix/zabbix_server.pid
StartDBSyncers: 1
CacheSize: 33554432
agent2:
enable: true
user: zabbix
group: zabbix
pkgs:
- python3-pyzabbix
# - zabbix-agent
- zabbix-agent2
# - zabbix-get
# - zabbix-sender
config:
BufferSize: 10000
Hostname: localhost
Include: "/etc/zabbix/zabbix_agent2.d/*.conf"
LogFile: /var/log/zabbix/zabbix_agent2.log
LogFileSize: 0
LogType: file
PidFile: /var/run/zabbix/zabbix_agent2.pid
Server: 127.0.0.1
ServerActive: zabbix.paulbsd.com
Timeout: 10
scripts:
apt:
name: apt.py
userparameters:
- "apt.updates,/etc/zabbix/scripts/apt.py"