-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvigilo-commands.cfg.in
60 lines (49 loc) · 1.95 KB
/
vigilo-commands.cfg.in
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
# 'check_http_url' command definition:
# checks if a HTTP server answers for a given url
define command{
command_name check_http_url
command_line LC_NUMERIC=C @PLUGINDIR@/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$
}
define command{
command_name check_dhcp_sudo
command_line /usr/bin/sudo @PLUGINDIR@/check_dhcp -s $HOSTADDRESS$
}
define command {
command_name check_nrpe_rerouted
command_line @PLUGINDIR@/check_nrpe -H $ARG1$ -c $ARG2$ -a $ARG3$
}
define command {
command_name check_nrpe_nossl
command_line @PLUGINDIR@/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ -a $ARG2$
}
define command {
command_name check_nrpe_1arg_nossl
command_line @PLUGINDIR@/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$
}
define command {
command_name check_nrpe_1arg_timeout
command_line @PLUGINDIR@/check_nrpe -t 15 -H $HOSTADDRESS$ -c $ARG1$
}
define command{
command_name check_proxy_noauth
command_line @PLUGINDIR@/check_http -H $ARG2$ -I $HOSTADDRESS$ -p $ARG1$ -u http://$ARG2$
}
define command{
command_name check_proxy_auth
command_line @PLUGINDIR@/check_http -H $ARG2$ -I $HOSTADDRESS$ -p $ARG1$ -u http://$ARG2$ -k "Proxy-Authorization: Basic login:passbase64encoded"
}
# Contrary to the default "check_ldaps" check, this one uses an
# already-encrypted SSL connection rather than STARTTLS.
define command{
command_name check_ldap_ssl
command_line @PLUGINDIR@/check_ldap -H $HOSTADDRESS$ --ssl -b '$ARG1$'
}
define command{
command_name check_sysUpTime_v2
#command_line @PLUGINDIR@/check_snmp -P 2c -H $HOSTADDRESS$ -C $ARG1$ -c $ARG2$: -w $ARG3$: -o iso.3.6.1.2.1.1.3.0
command_line @PLUGINDIR@/check_sysuptime -v2 -C $ARG1$ -H $HOSTADDRESS$ -W $ARG3$ -T $ARG2$
}
define command{
command_name check_sysUpTime_v3
command_line @PLUGINDIR@/check_sysuptime -v3 -U $ARG3$ -A $ARG4$ -a MD5 -L authNoPriv -H $HOSTADDRESS$ -W $ARG2$ -T $ARG1$
}