SNMP Manager Programmer's Guide
Programming Examples
SNMP Manager Programmer’s Guide–134249
2-114
SNMPHOST
Starting with the first entry in the hrDevice Table, SNMPHOST retrieves information
from as many hrDeviceTable entries as you request at invocation. When the entry is for
a processor, printer, or disk storage device, SNMPHOST also retrieves an additional
value from the tables indicated in Figure 2-3
. Table 2-5 provides some information
about the MIB objects retrieved.
Table 2-5. MIB Objects Retrieved by SNMPHOST
MIB Object OID Description
hrDeviceIndex 1.3.6.1.2.1.25.3.2.1.1 Index value pointing to an entry in
hrProcessorTable, hrPrinterTable, or
hrDiskStorageTable. In the case of the
Host Resources Subagent’s MIB, index
values are:
1-16 for processors
501-1000 for printers
1001-10000 for disks
hrDeviceType 1.3.6.1.2.1.25.3.2.1.2 An OID defined by RFC 1514:
1.3.6.1.2.1.25.3.1.3 for processors
1.3.6.1.2.1.25.3.1.5 for printers
1.3.6.1.2.1.25.3.1.6 for disks
hrDeviceDescr 1.3.6.1.2.1.25.3.2.1.3 A brief description of the device
hrDeviceStatus 1.3.6.1.2.1.25.3.2.1.5 An integer describing the current state of
the device:
1 (unknown)
2 (running)
3 (warning)
4 (testing)
5 (down)
hrProcessorLoad 1.3.6.1.2.1.25.3.3.1.2 The average percent of time a processor
was not idle during the previous minute
hrPrinterStatus 1.3.6.1.2.1.25.3.5.1.1 An integer describing the current state of
a printer:
1 (other)
2 (unknown)
3 (idle)
4 (printing)
5 (warmup)
hrDiskStorageCapacity 1.3.6.1.2.1.25.3.6.1.4 The total number of kilobytes a disk can
store