Snmpwalk command not returning all values
Posted: Thu Aug 29, 2013 6:15 am
I am running a Nagios Core 3.2.3 server on Opensuse Linux and I am attempting to obtain snmp results from an esx 3.5 server
I am trying to use the snmpwalk walk command to return a list of snapshot sizes but it only returns a single value.
This is the shell command on the ESX server-
snmp_snapshots.sh
When I run it manually on the ESX box this is the return I get-
So it looks like that bit is working fine.
however- when I run the following command on the Nagios server-
It only returns a single value, and weirdly, its the second one-
Any ideas why this isn't working?
I am trying to use the snmpwalk walk command to return a list of snapshot sizes but it only returns a single value.
This is the shell command on the ESX server-
snmp_snapshots.sh
Code: Select all
/usr/bin/find /vmfs/volumes/ -name '*delta*.vmdk' -printf %f' '%s'\n' Code: Select all
testnag01-000001-delta.vmdk 16840704
testnag01-000002-delta.vmdk 167835648
testnag01-000003-delta.vmdk 151058432
however- when I run the following command on the Nagios server-
Code: Select all
/usr/bin/snmpwalk -v 2c -c public 10.10.0.20 .1.3.6.1.4.1.6876.57.101.2Code: Select all
SNMPv2-SMI::enterprises.6876.57.101.2 = STRING: "testnag01-000002-delta.vmdk 167835648"