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/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/Makefile.am') diff --git a/config/Makefile.am b/config/Makefile.am index 0f7f73a..4435879 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -6,6 +6,7 @@ glusternagiosconf_DATA = \ gluster-templates.cfg \ gluster-contacts.cfg \ host-monitoring-services.in \ + snmpmanagers.cfg \ $(NULL) glusternagiosdefaultconfdir = $(sysconfdir)/nagios/gluster/default @@ -15,7 +16,14 @@ glusternagiosdefaultconf_DATA = \ node1.cfg \ $(NULL) +glusternagiosmibsdir = /usr/share/snmp/mibs +glusternagiosmibs_DATA = \ + NAGIOS-NOTIFY-MIB \ + NAGIOS-ROOT-MIB \ + $(NULL) + EXTRA_DIST = \ $(glusternagiosconf_DATA) \ $(glusternagiosdefaultconf_DATA) \ + $(glusternagiosmibs_DATA) \ $(NULL) -- cgit