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|
hth,
thanks (and a happy new year!) :-)
juergen
On 2009-12-31 10:16, Ton Voon wrote:
>
> On 28 Dec 2009, at 09:10, Jürgen Meusburger, die meuse.Bezau wrote:
>
> > Hello list,
> >
> > today I ran the Upgrade to 3.5.1.3761. Unfortunately all SNMP
> > Interface checks are now failing with whether " UNKNOWN - Interface
> > swp** not found!" (on switches), or "SNMP error when scanning
> > interface list: Received tooBig(1) error-status at error-index
> > 1" (on firewalls).
> >
> > any hints on this?
> >
>
> The plugin used is check_snmp_linkstatus. There was a change made for
> the size of the returned packet to be larger, but in our testing it
> didn't affect our devices.
>
> Can you try the plugin on the command line? It will be something like
> check_snmp_linkstatys -H {address} -i -o -I {interfacename}
>
> Ton
>
>
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users