Hi,
After configuring the snmp on ESX 5.5
# esxcli system snmp test
Comments: There is 1 target configured, send warmStart requested, test completed normally.
I cant get snmpwalk command.
~ # snmpwalk
-sh: snmpwalk: not found
~ # vmware -lv
VMware ESXi 5.5.0 build-2403361
VMware ESXi 5.5.0 Update 2
~ # echo $PATH
/bin:/sbin
snmp is enabled on the vmware vpshere.
Can anyone help ?
Thanks,
Priyanka
Hi Priyanka,
Please review the KB from VMware which stated that if you have more then 10 Datastore ,snmpwalk will not work.
Hope this will resolve your concern,
Hi,
Thanks for the response.
Do you mean this list
~ # df -h
Filesystem Size Used Available Use% Mounted on
VMFS-3 1.9T 1.5T 377.9G 80% /vmfs/volumes/Datastore2_level-1_1
VMFS-3 1.9T 880.5G 1.0T 46% /vmfs/volumes/Datastore1_level-1_1
VMFS-3 1.1T 895.8G 219.7G 80% /vmfs/volumes/Datastore4_test_level2_3
VMFS-3 1.1T 769.0G 346.5G 69% /vmfs/volumes/Datastore5_test_level2_3
VMFS-3 1.1T 724.0G 391.5G 65% /vmfs/volumes/Datastore7_level123
VMFS-3 1.1T 453.2G 662.3G 41% /vmfs/volumes/Datastore1_test_level2_3
VMFS-3 1.6T 905.4G 767.9G 54% /vmfs/volumes/Datastore2_test_level2_3
VMFS-3 799.8G 565.0M 799.2G 0% /vmfs/volumes/Datastore4_level-1_1
VMFS-3 277.2G 66.0G 211.2G 24% /vmfs/volumes/local_datastore_st2esx05
VMFS-3 1.9T 1.2T 716.1G 62% /vmfs/volumes/Datastore3_level-1_1
VMFS-3 1.1T 501.6G 613.9G 45% /vmfs/volumes/Datastore6_test_level2_3
VMFS-3 1.1T 825.5G 290.0G 74% /vmfs/volumes/Datastore9_level123
VMFS-3 1.1T 344.3G 807.9G 30% /vmfs/volumes/Datastore5_level-1_1
VMFS-3 1.1T 479.4G 636.1G 43% /vmfs/volumes/Datastore3_test_level2_3
VMFS-3 1.1T 814.9G 300.6G 73% /vmfs/volumes/Datastore8_level123
It sure is more than 10 datastore.
Regards,
Priyanka
Hi Vikas,
I read the KB article, according to it snmpwalk issue is resolved on ESX 5.5 U2 which is the version i have on my server now.
Any other ideas ?
Thanks,
Priyanka
Hi Priyanka,
where are you trying to run the snmpwalk command? If you are trying to run them on ESXi then it is not supported. ESXi only has an snmp agent service running in it which will respond for snmp queries and/or send traps when there is an issue.
To run snmpwalk please install net-snmp or any other snmp client on a different machine (linux or windows), and then you can query the ESXi server for data from the remote machine.
Example:
snmpwalk -v1 -c <community> <ESXi IP> OID
Hope this helps.