Search found 10 matches

by bbzz
Sun Mar 09, 2014 11:35 am
Forum: Open Source Nagios Projects
Topic: Suppress notification for same SNMP trap
Replies: 5
Views: 2589

Re: Suppress notification for same SNMP trap

Problem solved.

(I'm talking to myself in this thread).

Thanks.
by bbzz
Sat Mar 08, 2014 1:59 pm
Forum: Open Source Nagios Projects
Topic: Suppress notification for same SNMP trap
Replies: 5
Views: 2589

Re: Suppress notification for same SNMP trap

I discovered duplicate_trap_window in snmptt.ini configuration file. It does exactly what I need, suppresses reporting of same event to Nagios for a configurable amount of time. Can't see how I missed this one. The snpmtt has to run in daemon mode, which I configured. I also turned on debug because ...
by bbzz
Sat Mar 08, 2014 9:08 am
Forum: Open Source Nagios Projects
Topic: Suppress notification for same SNMP trap
Replies: 5
Views: 2589

Re: Suppress notification for same SNMP trap

Thanks. It looks like host is indeed sending multiple traps for on event. I'm running Nagios Core on OpenBSD, and there's no snmptrapsender.py on this host. snmptt calls submit_check_result which then calls /var/www/var/nagios/rw/nagios.cmd. Can you suggest a best way to say allow processing of only...
by bbzz
Thu Mar 06, 2014 4:00 am
Forum: Open Source Nagios Projects
Topic: Suppress notification for same SNMP trap
Replies: 5
Views: 2589

Suppress notification for same SNMP trap

Hi guys, I'm having a trouble where Nagios sends notification by email for the same trap from the same host multiple times in exactly the same intervals - 5 seconds in between. In case of our Juniper routers, Juniper indeed sends same trap when link fails multiple times, but Cisco sends only one tra...
by bbzz
Mon Feb 17, 2014 10:34 am
Forum: Open Source Nagios Projects
Topic: snmp traps with Nagios
Replies: 1
Views: 736

snmp traps with Nagios

Hi, I managed to get Nagios collect snmp traps with snmptt. This works well. However, is there a way to have a listing of all snmp traps, not just the last one received? In other words, if a host sends a couple of traps, Nagios only has one field for that service per host, so you end up missing prev...
by bbzz
Sat Feb 15, 2014 7:55 am
Forum: Open Source Nagios Projects
Topic: check_snmp_int.pl Return code 127
Replies: 8
Views: 4072

Re: check_snmp_int.pl Return code 127

Thanks. Well, I ended up installing this on OpenBSD platform; it comes with check_snmp.c which directly polls for specific oid thereby reducing snmp traffic and load on router. However, the load is still significant on host CPU. I followed recommendation for large installation tunning, but I think C...
by bbzz
Fri Feb 14, 2014 6:29 am
Forum: Open Source Nagios Projects
Topic: check_snmp_int.pl Return code 127
Replies: 8
Views: 4072

Re: check_snmp_int.pl Return code 127

I think high CPU is from fact that it's .pl not .c

Can't seem to find check_snmp_int.c for FreeBSD.
by bbzz
Fri Feb 14, 2014 4:55 am
Forum: Open Source Nagios Projects
Topic: check_snmp_int.pl Return code 127
Replies: 8
Views: 4072

Re: check_snmp_int.pl Return code 127

But it seems even with that option, script check for interface description for each interface. The problem is if you have lots of subinterfaces, when you poll for TenGigE0/0/0/1 and TenGigE0/0/0/2, for each interface it gets list of ALL interfaces, including subinterfaces, which makes NAGIOS report ...
by bbzz
Thu Feb 13, 2014 12:51 pm
Forum: Open Source Nagios Projects
Topic: check_snmp_int.pl Return code 127
Replies: 8
Views: 4072

Re: check_snmp_int.pl Return code 127

Thank you. I can't believe I missed that. :oops: Just one more question if you please. Since I'm polling several interfaces, each by itself, for every interface, script polls router for name of interface, even though if would be enough to poll for names once each turn. Any chance this can be optimiz...
by bbzz
Thu Feb 13, 2014 3:35 am
Forum: Open Source Nagios Projects
Topic: check_snmp_int.pl Return code 127
Replies: 8
Views: 4072

check_snmp_int.pl Return code 127

Hello everyone, I am trying to run mentioned plugin like this: # 'check_snmp' command definition define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -r -2 } and in router.cfg check_command check_snmp_int!XXXXXXXX!'TenGigabitEthernet2/0...