forked from NagiosEnterprises/nagioscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathno-service-error.cfg
61 lines (53 loc) · 1.37 KB
/
no-service-error.cfg
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
define host {
host_name host1
alias host1 test
address 192.168.1.1
max_check_attempts 2
check_period none
contacts nagiosadmin
notification_interval 60
notification_period none
}
define command {
command_name check_me
command_line /usr/local/nagios/libexec/check_me
}
define timeperiod {
timeperiod_name none
alias Nothing
}
define contact {
contact_name nagiosadmin
host_notifications_enabled 0
service_notifications_enabled 0
host_notification_period none
service_notification_period none
host_notification_options d,u,f,r,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-none
service_notification_commands notify-none
}
define command {
command_name notify-none
command_line /usr/local/nagios/notifications/notify-none
}
define contact {
contact_name second
host_notifications_enabled 0
service_notifications_enabled 0
host_notification_period none
service_notification_period none
host_notification_options d,u,f,r,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-none
service_notification_commands notify-none
}
define contactgroup {
contactgroup_name causetestfailure
alias This causes a test failure by having a comma separated list before the empty contactgroup
members nagiosadmin,second
}
define contactgroup {
contactgroup_name empty
alias No members defined - this should pass validation
}