snmptt queueing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

snmptt queueing

Post by FCC_Nagios_Support »

Hi,

I have somes problems with traps storm.
The snmptt run for one in one not at the same time?
So snmptt trigger and wait ends

Thks.
KR
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: snmptt queueing

Post by jdunitz »

Hi KR!

Can you show us what you get when you do:
grep "alarm\|FIFO" /usr/local/bin/snmptraphandling.py

Hopefully, it looks like this:
signal.alarm(15)
if os.path.exists('/usr/local/nagios/var/rw/nagios.cmd') and stat.S_ISFIFO(os.stat('/usr/local/nagios/var/rw/nagios.cmd').st_mode):

If that looks correct on yours, you can try enabling threads in /etc/snmp/snmptt.ini:

[root@jpd-nagiosxi-one ~]# grep threads_enable /etc/snmp/snmptt.ini
threads_enable = 0
[root@jpd-nagiosxi-one ~]# perl -p -i -e 's/threads_enable = 0/threads_enable = 1/g' /etc/snmp/snmptt.ini
[root@jpd-nagiosxi-one ~]# grep threads_enable /etc/snmp/snmptt.ini
threads_enable = 1

See if that helps clear your trap queue.


Si su pregunta no se entendió correctamente, puede escribir en español.


--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked