sreinhardt wrote:The other thing you can check, if you feel that traps have come in, but are not showing in any of your logs, take a look in /var/spool/snmptt/.
if there are any items in there, your snmptt daemon is not reaping them properly and likely is an issue with permissions, and the daemon should be run as root.
Well since you have had traps come in previously, I am hard pressed to say its anything with the nagios machine, but just that your devices must not be sending many traps. Having the directory empty is good, that means anything that was in there would have been cleared out already. If you know that traps are coming in, you can always tcpdump and if it shows incoming port 162 and you don't have traps being logged, then there is a breakdown somewhere.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Sorry I know this is 2012 post, but recently I encounter the same problem when deploying licensed nagios XI for my company. Following the instruction in Integrating_SNMP_Traps_With_Nagios_XI.pdf on the CentOS 6.4, snmptt and snmptrapd are up and mibs are added(the mib(OID) has been stored in snmptt.conf properly). All the traps still goto snmpttunknown.log, and nothing in /var/spool/snmptt.
Can anyone tell me if this problem has been solved and if so how it solved? Thanks in advance~~
This could be several issues, could you open a new thread specifically for your issue please. While you are at it, if you could post your /etc/snmp/snmptt.conf /etc/snmp/snmptt.ini, and a few example oids that you are having issues with. Also if you could run:
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.