OID represent the data points where the data for the graphs comes from. Sometimes the reason that a graph is not appearing is because the OID for the particular graph is not valid for the device. You can test this validity using the command line to see if you can return a value. To test the validity of an OID data point giving performance data:
- Log in to the Control Center host as a user with serviced CLI privileges.
- Attach to the Zenoss.core service.
serviced service attach Zenoss.core
- Change to the zenoss
su - zenoss
- Run the snmpget command for one of the OIDs
In this case, use the command:
$ snmpget -v 2c -cpublic build .126.96.36.199.4.1.2021.4.14.0
where, build should be a valid server/ip address
If the OID is valid it will return a value.
Here are some basic SNMP commands to gather certain information.
- Walk a basic system
snmpwalk -v 2c -cpublic <device_name_or_ip_address> system
- Walk an interface
snmpwalk -v 2c -cpublic <device_name_or_ip_address> ifDescr
- Get a single value.
snmpget -v 2c -cpublic <device_name_or_ip_address> ifDescr.2
- Detailed description of an OID value.
snmptranslate -Td RFC1213-MIB::ifDescr
- Convert a name to a raw
snmptranslate -On RFC1213-MIB::ifDescr
- Convert a raw OID to a short
snmptranslate -OS .188.8.131.52.184.108.40.206.1.2
- Walk a basic system MIB.