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
SNMPTT unable to log unknown logs
SNMPTT unable to log unknown logs
- Attachments
-
snmptt.ini- (25.68 KiB) Downloaded 225 times
-
snmptt.conf- (2.25 KiB) Downloaded 219 times
Re: SNMPTT unable to log unknown logs
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.
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!