forked from saltstack-formulas/zabbix-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillar.example
82 lines (74 loc) · 1.83 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
zabbix:
# Overrides map.jinja
#lookup:
# agent:
# version: xxx
# frontend:
# version: xxx
# server:
# version: xxx
# The files_switch key serves as a selector for alternative directories under
# the formula files directory. See TOFS pattern doc for more info.
files_switch:
- id
- os_family
# Zabbix user has to be member of some groups in order to have permissions to
# execute or read some things
user_groups:
- adm
zabbix-agent:
server:
- localhost
serveractive:
- localhost
listenip: 0.0.0.0
listenport: 10050
hostmetadata: c9767034-22c6-4d3d-a886-5fcaf1386b77
logfile: /var/log/zabbix/zabbix_agentd.log
logfilesize: 0
include: /etc/zabbix/zabbix_agentd.d/
userparameters:
- net.ping[*],/usr/bin/fping -q -c3 $1 2>&1 | sed 's,.*/\([0-9.]*\)/.*,\1,'
- custom.vfs.dev.discovery,/usr/local/bin/dev-discovery.sh
extra_conf: |
# Here we can set extra agent configuration lines
zabbix-server:
listenip: 0.0.0.0
listenport: 10051
dbhost: localhost
dbname: zabbix
dbuser: zabbixuser
dbpass: zabbixpass
extra_conf: |
# Here we can set extra server configuration lines
zabbix-mysql:
dbhost: localhost
dbname: zabbix
dbuser: zabbixuser
dbpass: zabbixpass
dbuser_host: '%'
zabbix-frontend:
dbtype: MYSQL
dbhost: localhost
dbname: zabbix
dbuser: zabbixuser
dbpass: zabbixpass
zbxserver: localhost
zbxserverport: 10051
zbxservername: 'Zabbix installed with saltstack'
zabbix-proxy:
proxymode: 0
server: localhost
serverport: 10051
hostname: localhost
hostnameitem: system.hostname
listenport: 10051
sourceip: 127.0.0.1
logfile: syslog
logfilesize: 0
debugelevel: 3
pidfile: /tmp/zabbix_proxy.pid
dbhost: localhost
dbname: /var/lib/zabbix/zabbix_proxy.db
dbuser: zabbix
include: /etc/zabbix/zabbix_proxy.d/