Page 1 of 1

SNMPTT not processing traps.

Posted: Thu Sep 04, 2014 9:42 pm
by ksric
HI,

I have setup snmptt for receiving traps from a cisco device on a Nagios core server.

I have setup everything correctly and received and logged Unknown traps but we are not receiving any valid traps in Database.

I see the below message when I am trying to run snmptt in debug mode.

[root@clrfmd1 snmptt]# service snmptt restart
Stopping snmptt: [ OK ]
Starting snmptt: ********** SNMPTT v1.4 started: Fri Sep 5 12:35:40 2014 **********

********** Net-SNMP version 5.05 Perl module enabled **********

********** DNS enabled **********

PID file: /var/run/snmptt.pid

Loading /etc/snmp/snmptt.conf.cisco
Finished loading 62 lines from /etc/snmp/snmptt.conf.cisco

Finished loading configuration files

Processing memory copy of configuration files
1 EVENTs found
1 EVENTs found that contain at least the mandatory FORMAT line
Finished processing memory copy of configuration files

==========================================================
Printing out all the events in hash table:

Event: .1.3.6.1.4.1.9.9.712.0.1 => ciscoWirelessMOStatusNotification,Status Events,Normal,This Notification is generated by the NM in response to an $*,

Finished printing out all events in hash table
==========================================================
cwd: /
[ OK ]

Its clearly mentioning that it has processed an Event but its not getting logged in DB or anywhere.

I have given the permission to all files and folder for snmptt user.

Can somebody please help with this issue? Your earliest reply is very much appreciated.

Regards,
Srichatan

Re: SNMPTT not processing traps.

Posted: Fri Sep 05, 2014 9:58 am
by tmcdonald
Do you have a host/service already set up to receive the trap? Just to confirm, which logs are you checking? Anything getting stuck in /var/spool/snmptt/?

Re: SNMPTT not processing traps.

Posted: Mon Sep 08, 2014 8:16 pm
by ksric
Yes, We have opened the firewall between the Nagios server and the Target machine. I have received some Unknown Traps in log from other nmachines but from where I am expecting. There is nothing under /var/spool/snmptt or /var/log/snmptt

Re: SNMPTT not processing traps.

Posted: Tue Sep 09, 2014 9:24 am
by tmcdonald
But do you have a host/service already configured in XI for this trap? If not, it may be getting caught in Admin -> Unconfigured Objects. Are there any entries there?

Re: SNMPTT not processing traps.

Posted: Thu Sep 11, 2014 12:57 am
by ksric
No , We are using Nagios core not XI.

Re: SNMPTT not processing traps.

Posted: Thu Sep 11, 2014 5:10 pm
by Box293
Please attach your snmptt.conf file.