blob: 34fcbadd56efecd977635cdcdf9e759cb332c8a4 (
plain)
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
|
define command {
command_name true
command_line /bin/true
}
define command {
command_name check_host
command_line $USER2$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
}
define command {
command_name check_ip
command_line $USER2$/check_ping -H $ARG1$ -w 100.0,1% -c 500.0,5% -p 5
}
define command {
command_name check_remote_ip
command_line $USER2$/check_ping -H $ARG1$ -w 500.0,5% -c 2000.0,20% -p 5
}
define command {
command_name check_ntp
command_line $USER2$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1
}
define command {
command_name check_ntp_win
command_line $USER2$/check_ntp_win -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1
}
define command {
command_name check_mysql
command_line $USER2$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$
}
# We should not resolve ourselves (and actually argument looks different). So we go for original here.
define command {
command_name check_dns
command_line $USER1$/check_dns -s $HOSTADDRESS$ -H $ARG1$ -a $ARG2$
}
define command {
command_name check_openvpn
command_line $USER1$/check_openvpn -H $HOSTADDRESS$ -p $ARG1$ -n -r $ARG2$ -c
}
|