blob: fe27ad085f52fa69f81cd10ec7b9b3e22c983063 (
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
78
79
80
81
82
83
|
define host{
name gluster-generic-host
use linux-server
notifications_enabled 1
notification_period 24x7
notification_interval 120
notification_options d,u,r,f,s
register 0
contacts +snmp
}
define host {
name gluster-host
use gluster-generic-host
check_command check_remote_host
register 0
_gluster_entity Host
}
define host {
name gluster-cluster
use gluster-generic-host
register 0
_gluster_entity Cluster
check_command check_cluster_status
}
define host{
name gluster-volume
use gluster-generic-host
register 0
_gluster_entity Volume
}
define service {
name gluster-service
use generic-service
notifications_enabled 1
notification_period 24x7
notification_options w,u,c,r,f,s
notification_interval 120
register 0
contacts +snmp
_gluster_entity Service
}
define service {
name gluster-passive-service
use gluster-service
register 0
active_checks_enabled 0
passive_checks_enabled 1
check_command check_dummy!0
}
define service {
name gluster-brick-status-service
use gluster-service
register 0
_GLUSTER_ENTITY Brick
event_handler submit_external_command!'SCHEDULE_SVC_CHECK'!$HOSTGROUPNAME$!'Volume Status - $_SERVICEVOL_NAME$'!'$LONGDATETIME$'
check_command check_brick_status
}
define service {
name gluster-service-with-graph
use gluster-service
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=$SERVICEDESC$
register 0
}
define service {
name gluster-service-without-graph
use gluster-service
register 0
}
define service {
name brick-service
use gluster-service-with-graph
check_command check_brick_usage
_GLUSTER_ENTITY Brick
}
|