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
SNMPTT not processing traps.
Re: SNMPTT not processing traps.
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
Re: SNMPTT not processing traps.
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.
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
Re: SNMPTT not processing traps.
No , We are using Nagios core not XI.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: SNMPTT not processing traps.
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.