paulbsd-salt/states/zabbix/defaults.yaml

48 lines
1.1 KiB
YAML
Raw Normal View History

2020-09-27 22:16:06 +02:00
---
2020-10-25 16:35:57 +01:00
zabbix:
server:
2022-07-27 23:49:18 +02:00
enable: false
2021-08-16 09:59:37 +02:00
user: zabbix
group: zabbix
2020-10-25 16:35:57 +01:00
pkgs:
- zabbix-frontend-php
- zabbix-server-pgsql
config:
DBHost: zabbix
DBName: zabbix
DBPassword: zabbix
2022-07-27 23:49:18 +02:00
DBPort: 5433
2020-10-25 16:35:57 +01:00
DBUser: zabbix
2024-04-03 00:51:39 +02:00
ListenPort: 10051
2020-10-25 16:35:57 +01:00
LogFile: /var/log/zabbix/zabbix_server.log
LogType: file
PidFile: /run/zabbix/zabbix_server.pid
2023-02-10 13:53:05 +01:00
StartDBSyncers: 1
CacheSize: 33554432
2024-09-28 14:24:54 +02:00
agent2:
2022-07-27 23:49:18 +02:00
enable: true
2021-08-16 09:59:37 +02:00
user: zabbix
group: zabbix
2020-10-25 16:35:57 +01:00
pkgs:
2020-11-04 23:05:21 +01:00
- python3-pyzabbix
2024-09-28 14:24:54 +02:00
# - zabbix-agent
2024-09-28 14:14:01 +02:00
- zabbix-agent2
2021-08-19 21:15:24 +02:00
# - zabbix-get
# - zabbix-sender
2020-10-25 16:35:57 +01:00
config:
2021-10-30 18:41:26 +02:00
BufferSize: 10000
2021-05-15 12:31:59 +02:00
Hostname: localhost
2024-09-28 14:24:54 +02:00
Include: "/etc/zabbix/zabbix_agent2.d/*.conf"
LogFile: /var/log/zabbix/zabbix_agent2.log
2020-10-25 16:35:57 +01:00
LogFileSize: 0
LogType: file
2024-09-28 14:24:54 +02:00
PidFile: /var/run/zabbix/zabbix_agent2.pid
2020-10-25 16:35:57 +01:00
Server: 127.0.0.1
ServerActive: zabbix.paulbsd.com
2024-02-19 21:21:53 +01:00
Timeout: 10
2020-11-04 23:05:21 +01:00
scripts:
apt:
name: apt.py
userparameters:
- "apt.updates,/etc/zabbix/scripts/apt.py"