diff options
author | Nishanth Thomas <nthomas@redhat.com> | 2014-04-08 20:12:14 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:21:37 +0530 |
commit | b40621bc3f1253adaa154428ddef758638b5d175 (patch) | |
tree | 9232b9b080ded9d4d2aeb37cec1c2a7ce24a8127 /config/gluster-templates.cfg | |
parent | 644a9617c9d31a76c0b217950d53355d14b54daf (diff) |
SNMP Trap Support : SNMP notification on status change
These plugins will generate SNMP traps when there is a host
or service state change in Nagios. Plugged into the Nagios
Notification mechanism and uses netsnmp utils to generate
SNMP traps
Addressed the review comments
Change-Id: I42c4d1968a48bc80e767f6fbc24d1637a92d21b0
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Diffstat (limited to 'config/gluster-templates.cfg')
-rw-r--r-- | config/gluster-templates.cfg | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/config/gluster-templates.cfg b/config/gluster-templates.cfg index a1da860..d9bebf9 100644 --- a/config/gluster-templates.cfg +++ b/config/gluster-templates.cfg @@ -1,8 +1,12 @@ define host{ - name gluster-generic-host - use linux-server - register 0 - contacts +ovirt + 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 +ovirt,snmp } define host { @@ -29,11 +33,15 @@ define host{ } define service { - name gluster-service - use generic-service - register 0 - contacts +ovirt - _gluster_entity 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 +ovirt,snmp + _gluster_entity Service } define service { |