Page 1 of 1

SNMPTT unable to log unknown logs

Posted: Thu Feb 25, 2016 11:57 am
by ameet_17
Hello,

Following is the description of the environment:
OS: centos-release-6-7.el6.centos.12.3.x86_64
SNMPTT 1.4
Nagios 4.0.4
Nagios Plugins 2.0

I have installed and configured above. And I am trying to generate following test snmp trap. But I am not seeing it logged to unkown trap log file.
snmptrap -v 1 -c public 107.250.236.236 UCD-TRAP-TEST-MIB::demotraps "" 6 17 "" SNMPv2-MIB::sysLocation.0 s "Here"


And I only see "Sleep 5 Seconds" message in snmptt debug file.

Thank you,
Ameet

Re: SNMPTT unable to log unknown logs

Posted: Thu Feb 25, 2016 5:47 pm
by tgriep
It looks like the settings for the test trap are not in the snmptt.conf file.
Every time you want to receive a trap on the Nagios system, you have to add that OID to that config file.
Take a look at this link for instructions on how to do that.
http://snmptt.sourceforge.net/docs/snmp ... tmib.shtml

Also, it the snmptrapd daemon running on your system?
This is needed to receive the traps and the snmptt daemon will translate them.