Page 1 of 4
Handling Forwarded SNMP Alerts
Posted: Thu Feb 21, 2013 4:02 pm
by citpaj
I'd like to configure NagiosXI to receive SNMP alerts from a down-stream SNMP management system (StruxureWare Central), and for Nagios to simply display those alerts on the Nagios dashboard without using a MIB. I don't want Nagios to interpret those alerts simply to display it's own alert indicating it has received an alert from StruxureWare.
Re: Handling Forwarded SNMP Alerts
Posted: Thu Feb 21, 2013 4:55 pm
by sreinhardt
Well if you are sending traps to nagios from another machine, this should not really be an issue at all. It should be setup just like a standard snmp trap interface for nagios. However if you are looking to send it or have nagios query in some other fashion, we would need more details and possibly something custom would have to be created.
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 10:39 am
by citpaj
When I add the StruxureWare Central 'server' what do I choose when running the Monitoring Wizard? Would it be Generic Network Device?
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 11:25 am
by citpaj
So I added the StruxureWare Central server as a generic network device, then added a SNMP Trap monitor for that device, using the wizard. Everything looks good from a Nagios standpoint. However, when I send a test SNMP trap from the StruxureWare Central server, I don't see the alert in Nagios. Have I missed something?
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 11:26 am
by sreinhardt
Have you installed and configured snmptt per this document?
integrating-snmp-traps-with-nagios-xi
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 11:43 am
by citpaj
Absolutely. Typically when there is no MIB installed for the particular device sending the traps, the /var/log/snmptt/snmpttunknown.log shows details. In this case there are no entries for this (or any SNMP device). My StruxureWare Central server is sending the traps to port 162 ... presumably that is OK. The same test SNMP Trap from StruxureWare to Tivoli works fine.
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 11:46 am
by BanditBBS
You server in Nagios is configured with the DNS name the Nagios server resolves for the server IP? Make sure if the Nagios server is configured to strip domains that the server is setup in Nagios without the full domain also.
Hope that helps!
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 12:11 pm
by citpaj
My StruxureWare server is resolvable in Nagios. How do I check if Nagios server is configured to strip domains? I don't believe we changed that.
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 12:35 pm
by Andreas_c_Schmidt
the snmptt will be configured under /etc/snmp/snmptt.ini. There you can configure the dns resolving settings.
If you are not getting traps please check the /var/spool/snmp if this dir where the traps are stored is not flooded. I found 700k files in there hanging the whole snmptt up.
Re: Handling Forwarded SNMP Alerts
Posted: Fri Feb 22, 2013 2:04 pm
by scottwilkerson
@Andreas_c_Schmidt, was there a cause that you could determine?