SNMPTT not processing traps.

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
ksric
Posts: 11
Joined: Wed Feb 27, 2013 5:41 am

SNMPTT not processing traps.

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMPTT not processing traps.

Post 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/?
Former Nagios employee
ksric
Posts: 11
Joined: Wed Feb 27, 2013 5:41 am

Re: SNMPTT not processing traps.

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMPTT not processing traps.

Post 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?
Former Nagios employee
ksric
Posts: 11
Joined: Wed Feb 27, 2013 5:41 am

Re: SNMPTT not processing traps.

Post by ksric »

No , We are using Nagios core not XI.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SNMPTT not processing traps.

Post by Box293 »

Please attach your snmptt.conf file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked