snmptrapd issue with v3 traps and reboots
Posted: Thu Jul 15, 2021 3:28 am
Hello,
I'm using Nagios XI to monitor SNMPv3 traps from an external device. The traps are displayed in Nagios, so everything seems to be configured correctly in general.
It works fine until the external device reboots. After a restart, the traps reach the Nagios VM (verified with tcpdump), but they are not processed any more. Additionally disabling snmptt shows that they are also not stored in the spool folder, thus there might to be an issue with snmptrapd. After waiting a couple of minutes, it seems to be fixed automatically somehow, and the new traps are listed in Nagios again (if snmptt was enabled).
Another solution is to restart snmptrapd manually right after the external device has rebooted. In this case Nagios is also able to recognize all traps.
Using informs instead of traps does also not cause any problems after reboots.
Does anybody know why snmptrapd ignores the traps after the reboot of the external device, and how to fix it?
Thank you.
I'm using Nagios XI to monitor SNMPv3 traps from an external device. The traps are displayed in Nagios, so everything seems to be configured correctly in general.
It works fine until the external device reboots. After a restart, the traps reach the Nagios VM (verified with tcpdump), but they are not processed any more. Additionally disabling snmptt shows that they are also not stored in the spool folder, thus there might to be an issue with snmptrapd. After waiting a couple of minutes, it seems to be fixed automatically somehow, and the new traps are listed in Nagios again (if snmptt was enabled).
Another solution is to restart snmptrapd manually right after the external device has rebooted. In this case Nagios is also able to recognize all traps.
Using informs instead of traps does also not cause any problems after reboots.
Does anybody know why snmptrapd ignores the traps after the reboot of the external device, and how to fix it?
Thank you.