Page 1 of 1

SNMP in new version 5.2.0

Posted: Wed Oct 14, 2015 8:08 am
by gwijnant
Hi all,

I upgraded my nagios system to version 5.2.0 for testing. Since then it doesnt seem that snmp traps are working anymore.
I do get the traps on the system.
Output:

tailf /var/log/snmptt/snmptt.log
Wed Oct 14 14:44:32 2015 .1.3.6.1.6.3.1.1.5.3 Normal "Status Events" 10.192.0.3 - Link down on interface 2. Admin state: up. Operational state: down
Wed Oct 14 14:45:58 2015 .1.3.6.1.6.3.1.1.5.4 Normal "Status Events" 10.192.0.3 - Link up on interface 2. Admin state: up. Operational state: down
Wed Oct 14 14:47:02 2015 .1.3.6.1.6.3.1.1.5.3 Normal "Status Events" 10.192.0.3 - Link down on interface 2. Admin state: up. Operational state: down
Wed Oct 14 14:50:28 2015 .1.3.6.1.6.3.1.1.5.4 Normal "Status Events" 10.192.0.3 - Link up on interface 2. Admin state: up. Operational state: down
Wed Oct 14 14:53:57 2015 .1.3.6.1.6.3.1.1.5.3 Normal "Status Events" 10.64.0.2 - Link down on interface 51. Admin state: up. Operational state: down
Wed Oct 14 15:04:26 2015 .1.3.6.1.6.3.1.1.5.4 Normal "Status Events" 10.64.0.2 - Link up on interface 51. Admin state: up. Operational state: up

Yet in Nagios it says waiting for trap...
Any ideas?

Best Regards,

Guy

Re: SNMP in new version 5.2.0

Posted: Wed Oct 14, 2015 5:00 pm
by jdalrymple
gwijnant wrote:I upgraded my nagios system to version 5.2.0 for testing.
That's kind of a weird statement :)

So did you upgrade, or did you backup/restore to a clean install? I'm thinking somehow you're snmptt.conf got overwritten or not put back in place proper, but that's kind of a stab in the dark. Can you look at it and verify that your traps are still defined?

Re: SNMP in new version 5.2.0

Posted: Thu Oct 15, 2015 7:21 am
by gwijnant
Hi jdalrymple,

i upgraded it :-)

Indeed somehow my snmptt.conf got overwritten. I readded the mibs and now I can see the traps.
Ticket can be closed.

Thanks!

Best Regards,

Guy