SNMPTT unable to log unknown logs

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ameet_17
Posts: 1
Joined: Thu Feb 25, 2016 11:21 am

SNMPTT unable to log unknown logs

Post 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
Attachments
snmptt.ini
(25.68 KiB) Downloaded 225 times
snmptt.conf
(2.25 KiB) Downloaded 219 times
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMPTT unable to log unknown logs

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked