HP SNMP/XL User's Guide (36922-90036)

83
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 taht lead to
an error:
:SNMPGET ‘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.proessor.numPresent.0
Integer: 1
Name: hp.nm.system.general.mpeXLSystem.processor.processorMIstate.0
Integer: (disabled) 2
Name: hp.nm.system.general.mpeXLSystem.processor.cupUtilization.0
Integer: 0