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
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
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
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