-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnagios_wheresitup.cfg
47 lines (40 loc) · 1.13 KB
/
nagios_wheresitup.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
define hostgroup {
hostgroup_name wiu-check-servers
alias Where's It Up
}
define servicegroup {
servicegroup_name wiu
alias Where's It Up
}
define command {
command_name wheresitup
command_line /usr/bin/php /etc/nagios3/scripts/wheresitup.php http://$HOSTADDRESS$ $ARG1$ yes
}
define service {
use generic-service
hostgroup_name wiu-check-servers
service_description Where Is It Up - New York
servicegroups wiu
check_command wheresitup!newyork
}
define service {
use generic-service
hostgroup_name wiu-check-servers
service_description Where Is It Up - Seattle
servicegroups wiu
check_command wheresitup!seattle
}
define service {
use generic-service
hostgroup_name wiu-check-servers
service_description Where Is It Up - Tokyo
servicegroups wiu
check_command wheresitup!tokyo
}
define service {
use generic-service
hostgroup_name wiu-check-servers
service_description Where Is It Up - Zurich
servicegroups wiu
check_command wheresitup!zurich
}