On 31 Dec 2009, at 12:59, Jürgen Meusburger, die meuse.Bezau wrote:


Hi Ton

here are the results:

on a Switch (2nd with Option -n, interesting for you?):

r...@opsview:/usr/local/nagios/libexec# ./check_snmp_linkstatus -H 192.168.10.201 -i -o -I swp00 WARNING: Running from command line. This could change statistics for the next run from Nagios
UNKNOWN - Interface swp00 not found!

r...@opsview:/usr/local/nagios/libexec# ./check_snmp_linkstatus -H 192.168.10.201 -i -o -I swp00 -n swp00 WARNING: Running from command line. This could change statistics for the next run from Nagios Use of uninitialized value in string eq at ./check_snmp_linkstatus line 853. Use of uninitialized value in string ne at ./check_snmp_linkstatus line 853. WARNING - Interface name swp00 expected at index swp00, but got (noSuchInstance)!

on a Firewall:

r...@opsview:/usr/local/nagios/libexec# ./check_snmp_linkstatus -H 192.168.10.254 -i -o -I port1 WARNING: Running from command line. This could change statistics for the next run from Nagios UNKNOWN: SNMP error when scanning interface list: Received tooBig(1) error-status at error-index 1

r...@opsview:/usr/local/nagios/libexec# ./check_snmp_linkstatus -H 192.168.10.254 -i -o -I port1 -n port1 WARNING: Running from command line. This could change statistics for the next run from Nagios
UNKNOWN - Received genError(5) error-status at error-index 1|

The -n is meant to be a number, which is why you have some strange warnings there.

Change 3665 moved the maximum snmp buffer size (https://secure.opsera.com/wsvn/wsvn/opsview/trunk/opsview-core/nagios-plugins/check_snmp_linkstatus?op=diff&; )

Can you try and move this part back and see if it works?

If it does, I don't know what to suggest because it should work correctly as is, unless there is something I am misunderstanding.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to