blob: ccf299842c5c6e547862bd34f4c49a745a88b85e (
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
|
### gluster nagios template ###
define command {
command_name check_disk_and_inode
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_and_inode
}
define command {
command_name check_cpu_multicore
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cpu_multicore
}
define command {
command_name check_memory
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_memory
}
define command {
command_name check_swap_usage
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap_usage
}
define command {
command_name check_interfaces
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_interfaces
}
define command {
command_name check_remote_host
command_line $USER1$/check_remote_host.py -H $HOSTADDRESS$
}
define command {
command_name host_service_handler
command_line $USER1$/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n "$SERVICEDESC$"
}
define command {
command_name notify-host-to-ovirt
command_line $USER1$/gluster/notify_ovirt_engine_handler.py -c $HOSTGROUPNAME$ -H $HOSTNAME$ -g $_HOSTGLUSTER_ENTITY$ -t $HOSTSTATE$ -o $_CONTACTOVIRT_REST_API$ -u $_CONTACTOVIRT_USER$ -p $USER3$
}
define command {
command_name notify-service-to-ovirt
command_line $USER1$/gluster/notify_ovirt_engine_handler.py -c $HOSTGROUPNAME$ -H $HOSTNAME$ -g $_SERVICEGLUSTER_ENTITY$ -s "$SERVICEDESC$" -t $SERVICESTATE$ -o $_CONTACTOVIRT_REST_API$ -u $_CONTACTOVIRT_USER$ -p $USER3$
}
|