Page 1 of 1

trap forwarding

Posted: Mon Dec 01, 2014 12:19 pm
by lanesilas17
We have a new SNMP integration of Nagios going in but we are in a situation where we are not receiving all the alarms that we expect. Unfortunately I don’t have admin but I’m guessing that some rules are set up somewhere which govern what is forwarded and what is not.

Can anyone help / advise on this?

Re: trap forwarding

Posted: Mon Dec 01, 2014 1:22 pm
by abrist
1. How are you processing the traps on the nagios side? snmptt?
2. Are some traps alerting for a certain device while others do not alert for the same device?
3. Have you installed the mibs for the remote device?
4. How are you matching rules for traps? snmptt.conf?

Re: trap forwarding

Posted: Fri Dec 05, 2014 5:13 am
by lanesilas17
1. How are you processing the traps on the nagios side? snmptt?

We are processing with a netcool trap probe

2. Are some traps alerting for a certain device while others do not alert for the same device?

We are getting traps from some devices and not others. The only pattern I can see is that we only seem to see alarms where there is a notification in Nagios, so I'm guessing that it's related somehow.

So - I think the pattern is -

Alarm is in Service Status summary, but not in notifications - we don't get the SNMP trap
Alarm is in the Service Status summary - but in notifications - we do get the SNMP trap

3. Have you installed the mibs for the remote device?

Yes

4. How are you matching rules for traps? snmptt.conf?

Netcool rules. I've also run a raw trap capture so I'm certain it's not been dropped by the management system.

Re: trap forwarding

Posted: Mon Dec 08, 2014 5:53 pm
by abrist
1. Check the log:

Code: Select all

/var/log/snmptt/snmpttunknown.log
If your traps are ending up here, than the mib has not been processed correctly.
2. Check XI --> Admin --> Unconfigured objects. If the traps are listed here, then they cannot be matched to a current object.
3. Next, check to see if the trap appears in the trap service. If it does, but is not changing status, then check the rule in snmptt.conf as the severity of the trap may not be set correctly:

Code: Select all

/etc/snmp/snmptt.conf

Re: trap forwarding

Posted: Tue Dec 09, 2014 12:01 pm
by lanesilas17
Thanks for your help. I will pass this on to the system administrator and let you know how we get on :D

Re: trap forwarding

Posted: Tue Dec 09, 2014 4:52 pm
by sreinhardt
Sounds good thanks!