From b40621bc3f1253adaa154428ddef758638b5d175 Mon Sep 17 00:00:00 2001 From: Nishanth Thomas Date: Tue, 8 Apr 2014 20:12:14 +0530 Subject: 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 --- config/gluster-contacts.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config/gluster-contacts.cfg') 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 +} + -- cgit