summaryrefslogtreecommitdiffstats
path: root/config/gluster-contacts.cfg
diff options
context:
space:
mode:
authorNishanth Thomas <nthomas@redhat.com>2014-04-08 20:12:14 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commitb40621bc3f1253adaa154428ddef758638b5d175 (patch)
tree9232b9b080ded9d4d2aeb37cec1c2a7ce24a8127 /config/gluster-contacts.cfg
parent644a9617c9d31a76c0b217950d53355d14b54daf (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-contacts.cfg')
-rw-r--r--config/gluster-contacts.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/gluster-contacts.cfg b/config/gluster-contacts.cfg
index 758a102..47bce44 100644
--- a/config/gluster-contacts.cfg
+++ b/config/gluster-contacts.cfg
@@ -13,3 +13,15 @@ define contact {
_ovirt_user admin@internal
}
+define contact {
+ contact_name snmp
+ alias Snmp Traps
+ email admin@ovirt.com
+ service_notification_period 24x7
+ service_notification_options w,u,c,r,f,s
+ service_notification_commands gluster-notify-service-by-snmp
+ host_notification_period 24x7
+ host_notification_options d,u,r,f,s
+ host_notification_commands gluster-notify-host-by-snmp
+}
+