Re: [Nagios-users] Support for snmp v2c with check_all_interfaces.pl

2009-01-20 Thread Matt Nelson
There apparently is a problem with Net::SNMP->session->get_table() related to Suse/Opensuse, and 64bit machines. I tried this at home and everything worked fine across redhat based distro's. I found that I can use Net::SNMP-session-get_request() and it works fine. Since I do not have time to dig

Re: [Nagios-users] Support for snmp v2c with check_all_interfaces.pl

2009-01-19 Thread Matt Nelson
Sorry for the slow response. I didn't change anything yet with the original pl code. I actually downloaded it again to a different machine, and it gives the same error: nagios02:/home/nagios/libexec # ./check_all_interfaces.pl -H databasenode -C public -v 1 CRITICAL: Could not read table by SNMP

Re: [Nagios-users] Support for snmp v2c with check_all_interfaces.pl

2009-01-17 Thread Andrea Gabellini
Matt, the original code use snmp v2c as the default, and it works fine. Did you change the default? Andrea Matt Nelson wrote: > I have been using check_all_interfaces.pl for a while on 32bit machines > and it works great for checking the interfaces for errors. I would like > to use it on a 64b

[Nagios-users] Support for snmp v2c with check_all_interfaces.pl

2009-01-16 Thread Matt Nelson
I have been using check_all_interfaces.pl for a while on 32bit machines and it works great for checking the interfaces for errors. I would like to use it on a 64bit machine, but it gives the error: CRITICAL: Could not read table by SNMP: Counter length too long (5 bytes) due to it trying to read