Starting with VMware Cloud Director 10.2.2, to chain GETNEXT requests without entering unique commands for each OID or node within a sub-tree, you can run the snmpwalk command.
Prerequisites
- Configure the VMware Cloud Director appliance for SNMP v1 and v2c or SNMP v3.
Procedure
Example: snmpwalk Query
A sample query of the sysDescr.0 MIB OID can be the following:
snmpwalk -v 3 -l authPriv -a SHA512 -A myauthpassword -x AES128 -X myprivpassword -u vcd-snmp-user 192.168.100.187:10161 sysDescr.0
This command returns the following output.
SNMPv2-MIB::sysDescr.0 = STRING: VMware-Cloud-Director-Appliance 10.2.2.5553 generic build 17709283 VMware, Inc x86_64