forked from saltstack-formulas/icinga2-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
74 lines (71 loc) · 1.62 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
icinga2:
lookup: # See defaults.yaml and map.jinja for a better overview
service: icinga2
pkgs:
- icinga2
#- nagios-nrpe-plugin
icinga_web2:
pkgs:
- ...
required_pkgs:
- ...
features:
api: False # disable
command: True # enable
gelf: True
graphite: True
opentsdb: True
perfdata: True
statusdata: True
# ...
nrpe: # deprecated
config:
server_port: 5666
commands:
check_users: /usr/lib/nagios/plugins/check_users -w 5 -c 10
defaults:
DAEMON_OPTS: "\"--no-ssl\""
conf:
templates:
special-host:
type: Host
conf:
vars:
sla: "24x5"
special-downtime:
type: ScheduledDowntime
conf:
ranges:
monday: "02:00-03:00"
special-notification:
type: Notification
conf:
types:
- FlappingStart
- FlappingEnd
hosts:
example.com:
import: generic-host
address: 1.2.3.4
vars:
sla: "24x7"
services:
http:
import: generic-service
host_name: example.com
check_command: http
vars:
sla: "24x7"
ssh:
import: generic-service
host_name: example.com
check_command: ssh
vars:
sla: "24x7"
ssh_alt:
import: generic-service
host_name: example.com
check_command: ssh
vars:
ssh_port: 43
sla: "24x7"