Ap C. SNMP Command Examples [ HP SNMP/XL User's Guide ] MPE/iX 5.0 Documentation
HP SNMP/XL User's Guide
Appendix C SNMP Command Examples
The following are examples of SNMP commands and the use of instance
specifications.
Below are examples of incorrect (incomplete) MIB specifications
that lead
to an error:
:SNMPGET 0,'public',system.sysdescr
The variable specified does not exist. (SNMPINFO 1802).
:SNMPGET 0,'public',hp.nm.system.general.mpexlsystem.processor
The variable specified does not exist. (SNMPINFO 1802).
The correct syntax is to specify both the STANDARDIZED SPECIFICATION
of the variable AND the INSTANCE SPECIFICATION used to distinguish
different instances of the object in the same MIB:
:SNMPGET 0,'public',system.sysdescr.0
Octet String: HP3000 SERIES 967, MPE XL version ...
If the INSTANCE SPECIFICATION is not known, use the SNMPWALK-command:
:SNMPWALK 0,'public',hp.nm.system.general.mpexlsystem.processor
Name: hp.nm.system.general.mpeXLSystem.processor.numActive.0
Integer: 1
Name: hp.nm.system.general.mpeXLSystem.processor.numPresent.0
Integer: 1
Name: hp.nm.system.general.mpeXLSystem.processor.processorMIstate.0
Integer: (disabled) 2
Name: hp.nm.system.general.mpeXLSystem.processor.cpuUtilization.0
Integer: 0
MPE/iX 5.0 Documentation