I have upgraded to Nagios XI 2014R1.5 on my Centos 6.4 system but the NSTI has stopped working from the date of the upgrade...also there are no longer any SNMP Trap notifications being generated in Nagios which is far more important because it would appear that the traps are not going beyond entering the system.
I have both XI and NSTI running on the same platform.
When I went to restart snmpttsystem.log what i noticed in the log was an upgrade from v1.3 to v1.4beta
Code: Select all
Fri Nov 7 06:57:59 2014 SNMPTT v1.3 shutdown
Fri Nov 7 06:57:59 2014 Total traps received=278440,Total traps translated=58435,Total traps ignored=0,Total unknown traps=225628
Fri Nov 7 06:58:01 2014 SNMPTT v1.4beta2 started
Fri Nov 7 06:58:01 2014 Loading /etc/snmp/snmptt.conf
Fri Nov 7 06:58:01 2014 Finished loading 693 lines from /etc/snmp/snmptt.conf
Fri Nov 7 06:58:01 2014 Loading /etc/snmp/snmptt.conf.cisco_3
Fri Nov 7 06:58:01 2014 Finished loading 2588 lines from /etc/snmp/snmptt.conf.cisco_3
Fri Nov 7 06:58:01 2014 Loading /etc/snmp/snmptt.conf.adtran
Fri Nov 7 06:58:01 2014 Finished loading 10677 lines from /etc/snmp/snmptt.conf.adtran
Fri Nov 7 06:58:01 2014 Loading /etc/snmp/snmptt.conf.loop
Fri Nov 7 06:58:01 2014 Finished loading 109 lines from /etc/snmp/snmptt.conf.loop
Fri Nov 7 06:58:01 2014 Changing to UID: snmptt (495)When it comes to the first part of the test to traps coming on port 162 with a tcpdump I see them coming in.Let's do a few things.
On NSTI server:
tcpdump port 162
Generate a trap with your software
You should see some additional lines come in saying the IP of the host sending the trap. This means the system is seeing the trap come in.
On NSTI server:
service snmptt stop
Generate a trap
You should see a file generated in /var/spool/snmptt/. This means that trapd is recieving them properly!
On NSTI server:
service snmptt start
tail -f /var/log/snmp/snmptt.log
generate a trap
If that does not show additional output:
tail -f /var/log/snmp/snmptt_unknown.log
generate a trap
This is testing to see if snmptt knows agbout the trap or not. If you see it in snmptt.log, you already have the mib added and handled properly. If not and it shows in unknown, we need to do some additional steps. If you don't see it in either we need to turn on deeper debugging and take a closer look.
However when I stop snmptt and generate a trap I do not see a file generated in /var/spool/snmptt/.
Can you please advise ?
Many Thanks