blob: db962b8045ab32ef5ce19d171e4082217b6fc5a9 (
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
47
48
49
50
51
52
53
54
|
define command {
command_name check_ssh_disk
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$"
}
define command {
command_name check_ssh_all_disks
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -A -X fuse.gvfs-fuse-daemon -X tmpfs -X devtmpfs -X nfs -X fuse.glusterfs"
}
define command {
command_name check_ssh_load
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_load -w $ARG1$ -c $ARG2$"
}
define command {
command_name check_ssh_procs
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$"
}
define command {
command_name check_ssh_users
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_users -w $ARG1$ -c $ARG2$"
}
define command {
command_name check_ssh_swap
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_swap -w $ARG1$ -c $ARG2$"
}
define command {
command_name check_ssh_mem
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mem -u -C -w $ARG1$ -c $ARG2$"
}
define command {
command_name check_ssh_mysql
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mysql -H 127.0.0.1 -u root"
}
define command {
command_name check_ssh_pgsql
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_pgsql -l nagios -p iosnag -d $ARG1$"
}
#define command {
# command_name check_ssh_ipmi
# command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_ipmi_sensor1 -H localhost -T $ARG1$"
#}
define command {
command_name check_ssh_ibnode
command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "/opt/scripts/nagios_ib_node.sh $ARG1$"
}
|