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
SNMP in new version 5.2.0
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SNMP in new version 5.2.0
That's kind of a weird statementgwijnant wrote:I upgraded my nagios system to version 5.2.0 for testing.
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
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
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