blob: ec72417aae71f1ea9d9c07877c956fc041f71f1b (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
### 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$/gluster/check_remote_host.py -H $HOSTADDRESS$
}
define command {
command_name host_service_handler
command_line $USER1$/gluster/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$
}
define command {
command_name check_brick_usage
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_brick_usage -a $_SERVICEBRICK_DIR$
}
define command {
command_name check_vol_utilization
command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -w $ARG3$ -c $ARG4$ -o utilization
}
define command{
command_name check_cluster_vol_usage
command_line $USER1$/gluster/check_cluster_vol_usage.py -w $ARG1$ -c $ARG2$ -hg $HOSTNAME$
}
define command{
command_name gluster_auto_discovery
command_line $USER1$/gluster/discovery.py -H $ARG1$ -c $HOSTNAME$
}
define command{
command_name check_dummy
command_line $USER1$/check_dummy 0
}
define command {
command_name check_vol_status
command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o status
}
|