Re: [Nagios-users] Regarding SNMP Trap

2006-12-28 Thread Robert Hajime Lanning
I had performance issues having Nagios process every trap. We have a fairly large SNMP utilization over here. Our Netscreen firewalls send quite a few traps sometimes. On order of 10/s or more during "attacks" (usually virus outbreaks). Wasn't very happy with my monitoring server keel over durin

Re: [Nagios-users] Regarding SNMP Trap

2006-12-28 Thread Dmitriy Kirhlarov
On Thu, Dec 28, 2006 at 11:16:04AM +0530, Ranjeet Kumar wrote: > 1. Show your snmptrapd.conf. > > traphandle default /usr/sbin/snmptthandler Check also, what your snmptrapd runned and your snmptt runned as daemon. In this case, your log files must have messages from snmptrapd and snmptt.

Re: [Nagios-users] Regarding SNMP Trap

2006-12-27 Thread Ranjeet Kumar
Dmitriy, Below is answers of your questions: - 1. Show your snmptrapd.conf. traphandle default /usr/sbin/snmptthandler 2. Check your snmptt.ini file in [Exec] section. exec_enable = 1 pre_exec_enable = 1 unknown_trap_exec = 3. Can you execute /usr/share/nagios2/plugins/event

Re: [Nagios-users] Regarding SNMP Trap

2006-12-27 Thread Dmitriy Kirhlarov
On Wed, Dec 27, 2006 at 04:39:24PM +0530, Ranjeet Kumar wrote: > EXEC /usr/share/nagios2/plugins/eventhandlers/submit_check_result "$r" > "snmp_traps" 2 "$O: $1 $2 $3 $4 $5" > > > > I am able to see the logs of translated trap as log but it is not > executing the EXEC command. I tried using man

[Nagios-users] Regarding SNMP Trap

2006-12-27 Thread Ranjeet Kumar
Hi, I am trying to get snmp trap to nagios. I am using nagios-2.4-1, nagios-pluging-1.4.3 & OS - Debian. I am referring "Pro Nagios 2.0" book to for this. I translated the mib using snmpttconvertmib as follow: - /usr/sbin/snmpttconvertmib -in=/usr/share/smnp/mibs/IF-MIB.txt -out=/etc/snm