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
snmptt queueing
Re: snmptt queueing
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!