Net SNMP Host MIB
Net SNMP Host MIB
INTRODUCTION
This is a summary of information regarding objects below the host MIB object, which is defined within the HOST-
RESOURCES-MIB MIB document as .1.3.6.1.2.1.25.
TABLE OF CONTENTS
Current Objects
Scalars
hrStorageTable
hrDeviceTable
hrProcessorTable
hrNetworkTable
hrPrinterTable
hrDiskStorageTable
hrPartitionTable
hrFSTable
hrSWRunTable
hrSWRunPerfTable
hrSWInstalledTable
Deprecated Objects
Deprecated Scalars
Notifications
Textual Conventions
Tree-based view
SCALAR OBJECTS
Name Type Access OID Description
http://net-snmp.sourceforge.net/docs/mibs/host.html 1/17
1/22/2014 Net-SNMP
TABLE OBJECTS
Table hrStorageTable
Table Name hrStorageTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.2.3
http://net-snmp.sourceforge.net/docs/mibs/host.html 2/17
1/22/2014 Net-SNMP
hrStorageTable Indexes:
Name Type Access Description
Table hrDeviceTable
Table Name hrDeviceTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.2
hrDeviceTable Indexes:
Name Type Access Description
http://net-snmp.sourceforge.net/docs/mibs/host.html 3/17
1/22/2014 Net-SNMP
Table hrProcessorTable
Table Name hrProcessorTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.3
http://net-snmp.sourceforge.net/docs/mibs/host.html 4/17
1/22/2014 Net-SNMP
value of the hrDeviceType object is
`hrDeviceProcessor'.
hrProcessorTable Indexes:
Name Type Access Description
Table hrNetworkTable
Table Name hrNetworkTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.4
hrNetworkTable Indexes:
Name Type Access Description
http://net-snmp.sourceforge.net/docs/mibs/host.html 5/17
1/22/2014 Net-SNMP
Note: this object is based on the InterfaceIndexOrZero TEXTUAL-
INTEGER32 CONVENTION.
1 Legal values: 0 ..
ReadOnly
hrNetworkIfIndex 2147483647 The value of ifIndex which corresponds to this
InterfaceIndexOrZero network device. If this device is not represented in
the ifTable, then this value shall be zero.
Table hrPrinterTable
Table Name hrPrinterTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.5
hrPrinterTable Indexes:
Name Type Access Description
Condition Bit #
lowPaper 0
noPaper 1
lowToner 2
noToner 3
doorOpen 4
jammed 5
offline 6
serviceRequested 7
inputTrayMissing 8
2
OCTETSTR ReadOnly outputTrayMissing 9
hrPrinterDetectedErrorState
markerSupplyMissing 10
outputNearFull 11
outputFull 12
inputTrayEmpty 13
overduePreventMaint 14
http://net-snmp.sourceforge.net/docs/mibs/host.html 6/17
1/22/2014 Net-SNMP
Bits are numbered starting with the most signific
bit of the first byte being bit 0, the least
significant bit of the first byte being bit 7, th
most significant bit of the second byte being bit
and so on. A one bit encodes that the condition
detected, while a zero bit encodes that the condi
was not detected.
Table hrDiskStorageTable
Table Name hrDiskStorageTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.6
hrDiskStorageTable Indexes:
Name Type Access Description
INTEGER
Value Label/Meaning
1 other
2 unknown
2 3 hardDisk An indication of the type of media used in this lon
ReadOnly
hrDiskStorageMedia term storage device.
4 floppyDisk
5 opticalDiskROM
6 opticalDiskWORM
7 opticalDiskRW
8 ramDisk
Note: this object is based on the TruthValue TEXTUAL-CONVENTION
INTEGER
3
TruthValue ReadOnly Denotes whether or not the disk media may be remove
hrDiskStorageRemoveble
(ENUM list below) from the drive.
Table hrPartitionTable
Table Name hrPartitionTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.7
hrPartitionTable Indexes:
Name Type Access Description
Table hrFSTable
Table Name hrFSTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.8
hrFSTable Indexes:
Name Type Access Description
Table hrSWRunTable
Table Name hrSWRunTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.4.2
hrSWRunTable Indexes:
Name Type Access Description
INTEGER
Value Label/Meaning
6 1 unknown
ReadOnly The type of this software.
hrSWRunType 2 operatingSystem
3 deviceDriver
4 application
INTEGER
Value Label/Meaning The status of this running piece of software.
7 1 running Setting this value to invalid(4) shall cause this
ReadWrite
hrSWRunStatus 2 runnable software to stop running and to be unloaded. Sets to
3 notRunnable other values are not valid.
4 invalid
Table hrSWRunPerfTable
Table Name hrSWRunPerfTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.5.1
hrSWRunPerfTable Indexes:
Name Type Access Description
Table hrSWInstalledTable
Table Name hrSWInstalledTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.6.3
hrSWInstalledTable Indexes:
http://net-snmp.sourceforge.net/docs/mibs/host.html 11/17
1/22/2014 Net-SNMP
INTEGER
Value Label/Meaning
4 1 unknown
ReadOnly The type of this software.
hrSWInstalledType 2 operatingSystem
3 deviceDriver
4 application
Note: this object is based on the DateAndTime TEXTUAL-
CONVENTION.
SCALAR OBJECTS
Name Type Access OID Description
TABLE OBJECTS
NOTIFICATIONS
TEXTUAL CONVENTIONS
These TEXTUAL-CONVENTIONS are used in other parts of the document above. They are SNMP's way of defining a datatype
that is used repeatedly by other MIB objects. Any implementation implementing objects that use one of these definitions
must follow its DESCRIPTION clause as well as the DESCRIPTION clause of the object itself.
A date-time specification.
field octets contents range
----- ------ -------- -----
1 1-2 year* 0..6553
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minutes 0..59
6 7 seconds 0..60
(use 60 for leap-second)
7 8 deci-seconds 0..9
DateAndTime OCTETSTR
8 9 direction from UTC '+' / '
9 10 hours from UTC* 0..13
10 11 minutes from UTC 0..59
* Notes:
- the value of year is in network-byte order
- daylight saving time in New Zealand is +13
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
displayed as:
1992-5-26,13:30:15.0,-4:0
http://net-snmp.sourceforge.net/docs/mibs/host.html 13/17
1/22/2014 Net-SNMP
Note that if only local time is known, then timezone
information (fields 8-10) is not present.
INTEGER
Value Label/Meaning
TruthValue Represents a boolean value.
1 true
2 false
TREE VIEW
Tree view generated by running: snmptranslate -Tp HOST-RESOURCES-MIB::host
+--host(25)
|
+--hrSystem(1)
| |
| +-- -R-- TimeTicks hrSystemUptime(1)
| +-- -RW- String hrSystemDate(2)
| | Textual Convention: DateAndTime
| | Size: 8 | 11
| +-- -RW- Integer32 hrSystemInitialLoadDevice(3)
| | Range: 1..2147483647
| +-- -RW- String hrSystemInitialLoadParameters(4)
| | Textual Convention: InternationalDisplayString
| | Size: 0..128
| +-- -R-- Gauge hrSystemNumUsers(5)
| +-- -R-- Gauge hrSystemProcesses(6)
| +-- -R-- Integer32 hrSystemMaxProcesses(7)
| Range: 0..2147483647
|
+--hrStorage(2)
| |
| +--hrStorageTypes(1)
| |
| +-- -R-- Integer32 hrMemorySize(2)
| | Textual Convention: KBytes
| | Range: 0..2147483647
| |
| +--hrStorageTable(3)
| |
| +--hrStorageEntry(1)
| | Index: hrStorageIndex
| |
| +-- -R-- Integer32 hrStorageIndex(1)
| | Range: 1..2147483647
| +-- -R-- ObjID hrStorageType(2)
| | Textual Convention: AutonomousType
| +-- -R-- String hrStorageDescr(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Integer32 hrStorageAllocationUnits(4)
| | Range: 1..2147483647
| +-- -RW- Integer32 hrStorageSize(5)
| | Range: 0..2147483647
| +-- -R-- Integer32 hrStorageUsed(6)
| | Range: 0..2147483647
| +-- -R-- Counter hrStorageAllocationFailures(7)
|
+--hrDevice(3)
| |
| +--hrDeviceTypes(1)
http://net-snmp.sourceforge.net/docs/mibs/host.html 14/17
1/22/2014 Net-SNMP
| |
| +--hrDeviceTable(2)
| | |
| | +--hrDeviceEntry(1)
| | | Index: hrDeviceIndex
| | |
| | +-- -R-- Integer32 hrDeviceIndex(1)
| | | Range: 1..2147483647
| | +-- -R-- ObjID hrDeviceType(2)
| | | Textual Convention: AutonomousType
| | +-- -R-- String hrDeviceDescr(3)
| | | Textual Convention: DisplayString
| | | Size: 0..64
| | +-- -R-- ObjID hrDeviceID(4)
| | | Textual Convention: ProductID
| | +-- -R-- EnumVal hrDeviceStatus(5)
| | | Values: unknown(1), running(2), warning(3), testing(4), down(5)
| | +-- -R-- Counter hrDeviceErrors(6)
| |
| +--hrProcessorTable(3)
| | |
| | +--hrProcessorEntry(1)
| | | Index: hrDeviceIndex
| | |
| | +-- -R-- ObjID hrProcessorFrwID(1)
| | | Textual Convention: ProductID
| | +-- -R-- Integer32 hrProcessorLoad(2)
| | Range: 0..100
| |
| +--hrNetworkTable(4)
| | |
| | +--hrNetworkEntry(1)
| | | Index: hrDeviceIndex
| | |
| | +-- -R-- Integer32 hrNetworkIfIndex(1)
| | Textual Convention: InterfaceIndexOrZero
| | Range: 0..2147483647
| |
| +--hrPrinterTable(5)
| | |
| | +--hrPrinterEntry(1)
| | | Index: hrDeviceIndex
| | |
| | +-- -R-- EnumVal hrPrinterStatus(1)
| | | Values: other(1), unknown(2), idle(3), printing(4), warmup(5)
| | +-- -R-- String hrPrinterDetectedErrorState(2)
| |
| +--hrDiskStorageTable(6)
| | |
| | +--hrDiskStorageEntry(1)
| | | Index: hrDeviceIndex
| | |
| | +-- -R-- EnumVal hrDiskStorageAccess(1)
| | | Values: readWrite(1), readOnly(2)
| | +-- -R-- EnumVal hrDiskStorageMedia(2)
| | | Values: other(1), unknown(2), hardDisk(3), floppyDisk(4), opticalDiskROM(5), optic
| | +-- -R-- EnumVal hrDiskStorageRemoveble(3)
| | | Textual Convention: TruthValue
| | | Values: true(1), false(2)
| | +-- -R-- Integer32 hrDiskStorageCapacity(4)
| | Textual Convention: KBytes
| | Range: 0..2147483647
| |
| +--hrPartitionTable(7)
| | |
| | +--hrPartitionEntry(1)
| | | Index: hrDeviceIndex, hrPartitionIndex
| | |
| | +-- -R-- Integer32 hrPartitionIndex(1)
| | | Range: 1..2147483647
| | +-- -R-- String hrPartitionLabel(2)
| | | Textual Convention: InternationalDisplayString
http://net-snmp.sourceforge.net/docs/mibs/host.html 15/17
1/22/2014 Net-SNMP
| | | Size: 0..128
| | +-- -R-- String hrPartitionID(3)
| | +-- -R-- Integer32 hrPartitionSize(4)
| | | Textual Convention: KBytes
| | | Range: 0..2147483647
| | +-- -R-- Integer32 hrPartitionFSIndex(5)
| | Range: 0..2147483647
| |
| +--hrFSTable(8)
| | |
| | +--hrFSEntry(1)
| | | Index: hrFSIndex
| | |
| | +-- -R-- Integer32 hrFSIndex(1)
| | | Range: 1..2147483647
| | +-- -R-- String hrFSMountPoint(2)
| | | Textual Convention: InternationalDisplayString
| | | Size: 0..128
| | +-- -R-- String hrFSRemoteMountPoint(3)
| | | Textual Convention: InternationalDisplayString
| | | Size: 0..128
| | +-- -R-- ObjID hrFSType(4)
| | | Textual Convention: AutonomousType
| | +-- -R-- EnumVal hrFSAccess(5)
| | | Values: readWrite(1), readOnly(2)
| | +-- -R-- EnumVal hrFSBootable(6)
| | | Textual Convention: TruthValue
| | | Values: true(1), false(2)
| | +-- -R-- Integer32 hrFSStorageIndex(7)
| | | Range: 0..2147483647
| | +-- -RW- String hrFSLastFullBackupDate(8)
| | | Textual Convention: DateAndTime
| | | Size: 8 | 11
| | +-- -RW- String hrFSLastPartialBackupDate(9)
| | Textual Convention: DateAndTime
| | Size: 8 | 11
| |
| +--hrFSTypes(9)
|
+--hrSWRun(4)
| |
| +-- -R-- Integer32 hrSWOSIndex(1)
| | Range: 1..2147483647
| |
| +--hrSWRunTable(2)
| |
| +--hrSWRunEntry(1)
| | Index: hrSWRunIndex
| |
| +-- -R-- Integer32 hrSWRunIndex(1)
| | Range: 1..2147483647
| +-- -R-- String hrSWRunName(2)
| | Textual Convention: InternationalDisplayString
| | Size: 0..64
| +-- -R-- ObjID hrSWRunID(3)
| | Textual Convention: ProductID
| +-- -R-- String hrSWRunPath(4)
| | Textual Convention: InternationalDisplayString
| | Size: 0..128
| +-- -R-- String hrSWRunParameters(5)
| | Textual Convention: InternationalDisplayString
| | Size: 0..128
| +-- -R-- EnumVal hrSWRunType(6)
| | Values: unknown(1), operatingSystem(2), deviceDriver(3), application(4)
| +-- -RW- EnumVal hrSWRunStatus(7)
| Values: running(1), runnable(2), notRunnable(3), invalid(4)
|
+--hrSWRunPerf(5)
| |
| +--hrSWRunPerfTable(1)
| |
| +--hrSWRunPerfEntry(1)
http://net-snmp.sourceforge.net/docs/mibs/host.html 16/17
1/22/2014 Net-SNMP
| |
| +-- -R-- Integer32 hrSWRunPerfCPU(1)
| | Range: 0..2147483647
| +-- -R-- Integer32 hrSWRunPerfMem(2)
| Textual Convention: KBytes
| Range: 0..2147483647
|
+--hrSWInstalled(6)
| |
| +-- -R-- TimeTicks hrSWInstalledLastChange(1)
| +-- -R-- TimeTicks hrSWInstalledLastUpdateTime(2)
| |
| +--hrSWInstalledTable(3)
| |
| +--hrSWInstalledEntry(1)
| | Index: hrSWInstalledIndex
| |
| +-- -R-- Integer32 hrSWInstalledIndex(1)
| | Range: 1..2147483647
| +-- -R-- String hrSWInstalledName(2)
| | Textual Convention: InternationalDisplayString
| | Size: 0..64
| +-- -R-- ObjID hrSWInstalledID(3)
| | Textual Convention: ProductID
| +-- -R-- EnumVal hrSWInstalledType(4)
| | Values: unknown(1), operatingSystem(2), deviceDriver(3), application(4)
| +-- -R-- String hrSWInstalledDate(5)
| Textual Convention: DateAndTime
| Size: 8 | 11
|
+--hrMIBAdminInfo(7)
|
+--hostResourcesMibModule(1)
|
+--hrMIBCompliances(2)
| |
| +--hrMIBCompliance(1)
|
+--hrMIBGroups(3)
|
+--hrSystemGroup(1)
+--hrStorageGroup(2)
+--hrDeviceGroup(3)
+--hrSWRunGroup(4)
+--hrSWRunPerfGroup(5)
+--hrSWInstalledGroup(6)
http://net-snmp.sourceforge.net/docs/mibs/host.html 17/17