0% found this document useful (0 votes)
45 views

Net SNMP Host MIB

This document provides information about objects in the HOST-RESOURCES-MIB including scalars, tables, and descriptions. It includes details on current objects like storage tables, device tables, and processor tables. It also describes deprecated scalars and notifications. Scalars in the MIB provide information like system uptime, date, initial load parameters, and memory size. Tables store data on storage resources, devices, processors, software, and partitions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Net SNMP Host MIB

This document provides information about objects in the HOST-RESOURCES-MIB including scalars, tables, and descriptions. It includes details on current objects like storage tables, device tables, and processor tables. It also describes deprecated scalars and notifications. Scalars in the MIB provide information like system uptime, date, initial load parameters, and memory size. Tables store data on storage resources, devices, processors, software, and partitions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

1/22/2014 Net-SNMP

Current release: 5.7.2

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

The amount of time since this h


initialized. Note that this is
1
TICKS ReadOnly .1.3.6.1.2.1.25.1.1 sysUpTime in the SNMPv2-MIB [RF
hrSystemUptime
sysUpTime is the uptime of the
portion of the system.

Note: this object is based on the


OCTETSTR
2
Legal Lengths: 8 , 11 ReadWrite .1.3.6.1.2.1.25.1.2
hrSystemDate The host's notion of the local
DateAndTime

The index of the hrDeviceEntry


which this host is configured t
operating system configuration
INTEGER32 system code and/or boot paramet
3
Legal values: 1 .. ReadWrite .1.3.6.1.2.1.25.1.3
hrSystemInitialLoadDevice
2147483647 Note that writing to this objec
configuration that will be used
operating system is loaded and
the reload to occur.

Note: this object is based on the


CONVENTION.

This object contains the parame


and parameter) supplied to the
OCTETSTR requesting the initial operatin
4
Legal Lengths: 0 .. 128 ReadWrite .1.3.6.1.2.1.25.1.4 from that device.
hrSystemInitialLoadParameters
InternationalDisplayString
Note that writing to this
configuration that will be
operating system is loaded
the reload to occur.

The number of user sessions for


storing state information. A s
5
GAUGE ReadOnly .1.3.6.1.2.1.25.1.5 of processes requiring a single
hrSystemNumUsers
authentication and possibly sub
control.

http://net-snmp.sourceforge.net/docs/mibs/host.html 1/17
1/22/2014 Net-SNMP

6 The number of process contexts


GAUGE ReadOnly .1.3.6.1.2.1.25.1.6
hrSystemProcesses running on this system.

The maximum number of process c


INTEGER32 can support. If there is no fi
7
Legal values: 0 .. ReadOnly .1.3.6.1.2.1.25.1.7 should be zero. On systems tha
hrSystemMaxProcesses
2147483647 this object can help diagnose f
this maximum is reached.

Note: this object is based on the


INTEGER32
2 Legal values: 0 ..
ReadOnly .1.3.6.1.2.1.25.2.2 The amount of physical read-wri
hrMemorySize 2147483647
KBytes typically RAM, contained by the

The value of the hrSWRunIndex f


1 INTEGER32 that represents the primary ope
hrSWOSIndex Legal values: 1 .. ReadOnly .1.3.6.1.2.1.25.4.1 on this host. This object is u
2147483647 uniquely identifying that prima

The value of sysUpTime when an


hrSWInstalledTable was last add
1 deleted. Because this table is
TICKS ReadOnly .1.3.6.1.2.1.25.6.1
hrSWInstalledLastChange entries, polling of this object
station to determine when re-do
might be useful.

The value of sysUpTime when the


was last completely updated. B
2 data will be a popular implemen
TICKS ReadOnly .1.3.6.1.2.1.25.6.2
hrSWInstalledLastUpdateTime retrieval of this object allows
to obtain a guarantee that no d
older than the indicated time.

TABLE OBJECTS
Table hrStorageTable
Table Name hrStorageTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.2.3

The (conceptual) table of logical storage areas on


the host.

An entry shall be placed in the storage table for each


logical area of storage that is allocated and has
fixed resource limits. The amount of storage
represented in an entity is the amount actually usable
by the requesting entity, and excludes loss due to
formatting or file system reference information.

These entries are associated with logical storage


areas, as might be seen by an application, rather than
physical storage entities which are typically seen by
an operating system. Storage such as tapes and
Table Description floppies without file systems on them are typically
not allocated in chunks by the operating system to
requesting applications, and therefore shouldn't
appear in this table. Examples of valid storage for
this table include disk partitions, file systems, ram
(for some architectures this is further segmented into
regular memory, extended memory, and so on), backing
store for virtual memory (`swap space').

This table is intended to be a useful diagnostic for


`out of memory' and `out of buffers' types of
failures. In addition, it can be a useful performance
monitoring tool for tracking memory, disk, or buffer
usage.

http://net-snmp.sourceforge.net/docs/mibs/host.html 2/17
1/22/2014 Net-SNMP

A (conceptual) entry for one logical storage area on


Row Description the host. As an example, an instance of the
hrStorageType object might be named hrStorageType.3

hrStorageTable Indexes:
Name Type Access Description

1 INTEGER32 A unique value for each logical storage area


ReadOnly
hrStorageIndex Legal values: 1 .. 2147483647 contained by the host.

Other hrStorageTable Columns:


Name Type Access Description
Note: this object is based on the AutonomousType TEXTUAL-
CONVENTION.
2 OBJECTID
ReadOnly
hrStorageType AutonomousType
The type of storage represented by this entry.

Note: this object is based on the DisplayString TEXTUAL-CONVENTION


OCTETSTR
3 Legal Lengths: 0
ReadOnly A description of the type and instance of the storage
hrStorageDescr .. 255
DisplayString described by this entry.

The size, in bytes, of the data objects allocated


INTEGER32 from this pool. If this entry is monitoring sectors,
4
Legal values: 1 ReadOnly blocks, buffers, or packets, for example, this number
hrStorageAllocationUnits
.. 2147483647 will commonly be greater than one. Otherwise this
number will typically be one.

The size of the storage represented by this entry, in


units of hrStorageAllocationUnits. This object is
writable to allow remote configuration of the size of
INTEGER32 the storage area in those cases where such an
5
Legal values: 0 ReadWrite operation makes sense and is possible on the
hrStorageSize
.. 2147483647 underlying system. For example, the amount of main
memory allocated to a buffer pool might be modified or
the amount of disk space allocated to virtual memory
might be modified.

INTEGER32 The amount of the storage represented by this entry


6
Legal values: 0 ReadOnly that is allocated, in units of
hrStorageUsed
.. 2147483647 hrStorageAllocationUnits.

The number of requests for storage represented by


this entry that could not be honored due to not enough
storage. It should be noted that as this object has a
7
COUNTER ReadOnly SYNTAX of Counter32, that it does not have a defined
hrStorageAllocationFailures
initial value. However, it is recommended that this
object be initialized to zero, even though management
stations must not depend on such an initialization.

Table hrDeviceTable
Table Name hrDeviceTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.2

The (conceptual) table of devices contained by the


Table Description
host.

A (conceptual) entry for one device contained by the


Row Description host. As an example, an instance of the hrDeviceType
object might be named hrDeviceType.3

hrDeviceTable Indexes:
Name Type Access Description
http://net-snmp.sourceforge.net/docs/mibs/host.html 3/17
1/22/2014 Net-SNMP

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

Other hrDeviceTable Columns:


Name Type Access Description
Note: this object is based on the AutonomousType TEXTUAL-CONVENTION

An indication of the type of device.


If this value is
`hrDeviceProcessor { hrDeviceTypes 3 }' then an entr
exists in the hrProcessorTable which corresponds to
this device.
If this value is
`hrDeviceNetwork { hrDeviceTypes 4 }', then an entry
2 OBJECTID exists in the hrNetworkTable which corresponds to th
ReadOnly
hrDeviceType AutonomousType device.
If this value is
`hrDevicePrinter { hrDeviceTypes 5 }', then an entry
exists in the hrPrinterTable which corresponds to th
device.
If this value is
`hrDeviceDiskStorage { hrDeviceTypes 6 }', then an
entry exists in the hrDiskStorageTable which
corresponds to this device.

Note: this object is based on the DisplayString TEXTUAL-CONVENTION.


OCTETSTR
3 A textual description of this device, including the
Legal Lengths: 0 .. 64 ReadOnly
hrDeviceDescr device's manufacturer and revision, and optionally,
DisplayString
its serial number.

Note: this object is based on the ProductID TEXTUAL-CONVENTION.


4 OBJECTID
ReadOnly
hrDeviceID ProductID The product ID for this device.

The current operational state of the device described


by this row of the table. A value unknown(1)
indicates that the current state of the device is
INTEGER
unknown. running(2) indicates that the device is up
and running and that no unusual error conditions are
Value Label/Meaning known. The warning(3) state indicates that agent has
1 unknown been informed of an unusual error condition by the
5
2 running ReadOnly operational software (e.g., a disk device driver) but
hrDeviceStatus
3 warning that the device is still 'operational'. An example
4 testing would be a high number of soft errors on a disk. A
5 down
value of testing(4), indicates that the device is not
available for use because it is in the testing state.
The state of down(5) is used only when the agent has
been informed that the device is not available for any
use.

The number of errors detected on this device. It


should be noted that as this object has a SYNTAX of
6 Counter32, that it does not have a defined initial
COUNTER ReadOnly
hrDeviceErrors value. However, it is recommended that this object be
initialized to zero, even though management stations
must not depend on such an initialization.

Table hrProcessorTable
Table Name hrProcessorTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.3

The (conceptual) table of processors contained by the


host.

Table Description Note that this table is potentially sparse: a


(conceptual) entry exists only if the correspondent

http://net-snmp.sourceforge.net/docs/mibs/host.html 4/17
1/22/2014 Net-SNMP
value of the hrDeviceType object is
`hrDeviceProcessor'.

A (conceptual) entry for one processor contained by


the host. The hrDeviceIndex in the index represents
the entry in the hrDeviceTable that corresponds to the
hrProcessorEntry.
Row Description
As an example of how objects in this table are named,
an instance of the hrProcessorFrwID object might be
named hrProcessorFrwID.3

hrProcessorTable Indexes:
Name Type Access Description

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

Other hrProcessorTable Columns:


Name Type Access Description
Note: this object is based on the ProductID TEXTUAL-CONVENTION.
1 OBJECTID
ReadOnly The product ID of the firmware associated with the
hrProcessorFrwID ProductID
processor.

The average, over the last minute, of the percentage


2 INTEGER32 of time that this processor was not idle.
ReadOnly
hrProcessorLoad Legal values: 0 .. 100 Implementations may approximate this one minute
smoothing period if necessary.

Table hrNetworkTable
Table Name hrNetworkTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.4

The (conceptual) table of network devices contained


by the host.

Table Description Note that this table is potentially sparse: a


(conceptual) entry exists only if the correspondent
value of the hrDeviceType object is
`hrDeviceNetwork'.

A (conceptual) entry for one network device contained


by the host. The hrDeviceIndex in the index
represents the entry in the hrDeviceTable that
corresponds to the hrNetworkEntry.
Row Description
As an example of how objects in this table are named,
an instance of the hrNetworkIfIndex object might be
named hrNetworkIfIndex.3

hrNetworkTable Indexes:
Name Type Access Description

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

Other hrNetworkTable Columns:


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

The (conceptual) table of printers local to the host.


Note that this table is potentially sparse: a
Table Description (conceptual) entry exists only if the correspondent
value of the hrDeviceType object is
`hrDevicePrinter'.

A (conceptual) entry for one printer local to the


host. The hrDeviceIndex in the index represents the
entry in the hrDeviceTable that corresponds to the
hrPrinterEntry.
Row Description
As an example of how objects in this table are named,
an instance of the hrPrinterStatus object might be
named hrPrinterStatus.3

hrPrinterTable Indexes:
Name Type Access Description

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

Other hrPrinterTable Columns:


Name Type Access Description
INTEGER
Value Label/Meaning
1 other
1
2 unknown ReadOnly The current status of this printer device.
hrPrinterStatus
3 idle
4 printing
5 warmup

This object represents any error conditions detec


by the printer. The error conditions are encoded
bits in an octet string, with the following
definitions:

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.

This object is useful for alerting an operator to


specific warning or error conditions that may occ
especially those requiring human intervention.

Table hrDiskStorageTable
Table Name hrDiskStorageTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.6

The (conceptual) table of long-term storage devices


contained by the host. In particular, disk devices
accessed remotely over a network are not included
here.
Table Description
Note that this table is potentially sparse: a
(conceptual) entry exists only if the correspondent
value of the hrDeviceType object is
`hrDeviceDiskStorage'.

A (conceptual) entry for one long-term storage device


contained by the host. The hrDeviceIndex in the index
represents the entry in the hrDeviceTable that
Row Description
corresponds to the hrDiskStorageEntry. As an example,
an instance of the hrDiskStorageCapacity object might
be named hrDiskStorageCapacity.3

hrDiskStorageTable Indexes:
Name Type Access Description

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

Other hrDiskStorageTable Columns:


Name Type Access Description

INTEGER An indication if this long-term storage device is


Value Label/Meaning readable and writable or only readable. This shoul
1
ReadOnly reflect the media type, any write-protect mechanism
hrDiskStorageAccess 1 readWrite
and any device configuration that affects the entir
2 readOnly device.

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.

Note: this object is based on the KBytes TEXTUAL-CONVENTION


INTEGER32
4 Legal values: 0 .. The total size for this long-term storage device. I
http://net-snmp.sourceforge.net/docs/mibs/host.html 7/17
1/22/2014 Net-SNMP
hrDiskStorageCapacity 2147483647 ReadOnly the media is removable and is currently removed, th
KBytes value should be zero.

Table hrPartitionTable
Table Name hrPartitionTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.7

The (conceptual) table of partitions for long-term


storage devices contained by the host. In particular,
Table Description
partitions accessed remotely over a network are not
included here.

A (conceptual) entry for one partition. The


hrDeviceIndex in the index represents the entry in the
hrDeviceTable that corresponds to the
hrPartitionEntry.
Row Description
As an example of how objects in this table are named,
an instance of the hrPartitionSize object might be
named hrPartitionSize.3.1

hrPartitionTable Indexes:
Name Type Access Description

A unique value for each device contained by the host.


INTEGER32
1 The value for each device must remain constant at
Legal values: 1 .. ReadOnly
hrDeviceIndex least from one re-initialization of the agent to the
2147483647
next re-initialization.

A unique value for each partition on this long-term


INTEGER32 storage device. The value for each long-term storage
1
Legal values: 1 .. ReadOnly device must remain constant at least from one re-
hrPartitionIndex
2147483647 initialization of the agent to the next re-
initialization.

Other hrPartitionTable Columns:


Name Type Access Description
Note: this object is based on the InternationalDisplayString TEXTUAL-
OCTETSTR CONVENTION.
2
Legal Lengths: 0 .. 128 ReadOnly
hrPartitionLabel
InternationalDisplayString A textual description of this partition.

A descriptor which uniquely represents this partition


3
OCTETSTR ReadOnly to the responsible operating system. On some systems,
hrPartitionID
this might take on a binary representation.

INTEGER32 Note: this object is based on the KBytes TEXTUAL-CONVENTION.


4 Legal values: 0 ..
ReadOnly
hrPartitionSize 2147483647 The size of this partition.
KBytes

The index of the file system mounted on this


partition. If no file system is mounted on this
INTEGER32 partition, then this value shall be zero. Note that
5
Legal values: 0 .. ReadOnly multiple partitions may point to one file system,
hrPartitionFSIndex
2147483647 denoting that that file system resides on those
partitions. Multiple file systems may not reside on
one partition.

Table hrFSTable
Table Name hrFSTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.3.8

The (conceptual) table of file systems local to this


http://net-snmp.sourceforge.net/docs/mibs/host.html 8/17
1/22/2014 Net-SNMP

Table Description host or remotely mounted from a file server. File


systems that are in only one user's environment on a
multi-user system will not be included in this table.

A (conceptual) entry for one file system local to


this host or remotely mounted from a file server.
File systems that are in only one user's environment
on a multi-user system will not be included in this
Row Description table.

As an example of how objects in this table are named,


an instance of the hrFSMountPoint object might be
named hrFSMountPoint.3

hrFSTable Indexes:
Name Type Access Description

A unique value for each file system local to this


1 INTEGER32 host. The value for each file system must remain
ReadOnly
hrFSIndex Legal values: 1 .. 2147483647 constant at least from one re-initialization of the
agent to the next re-initialization.

Other hrFSTable Columns:


Name Type Access Description
Note: this object is based on the InternationalDisplayString TEXT
OCTETSTR CONVENTION.
2
Legal Lengths: 0 .. 128 ReadOnly
hrFSMountPoint
InternationalDisplayString The path name of the root of this file system.

Note: this object is based on the InternationalDisplayString TEXT


CONVENTION.

OCTETSTR A description of the name and/or address of the


3
Legal Lengths: 0 .. 128 ReadOnly server that this file system is mounted from. Th
hrFSRemoteMountPoint
InternationalDisplayString may also include parameters such as the mount poi
the remote file system. If this is not a remote
system, this string should have a length of zero.

Note: this object is based on the AutonomousType TEXTUAL-CON


4 OBJECTID
hrFSType AutonomousType ReadOnly The value of this object identifies the type of t
file system.

INTEGER An indication if this file system is logically


Value Label/Meaning configured by the operating system to be readable
5
ReadOnly writable or only readable. This does not represe
hrFSAccess 1 readWrite
any local access-control policy, except one that
2 readOnly applied to the file system as a whole.

Note: this object is based on the TruthValue TEXTUAL-CONVENT


INTEGER
6
TruthValue ReadOnly A flag indicating whether this file system is
hrFSBootable
(ENUM list below) bootable.

The index of the hrStorageEntry that represents


information about this file system. If there is
INTEGER32 such information available, then this value shall
7
Legal values: 0 .. ReadOnly zero. The relevant storage entry will be useful
hrFSStorageIndex
2147483647 tracking the percent usage of this file system an
diagnosing errors that may occur when it runs out
space.

Note: this object is based on the DateAndTime TEXTUAL-CONVE

The last date at which this complete file system


copied to another storage device for backup. Thi
OCTETSTR information is useful for ensuring that b
8
Legal Lengths: 8 , 11 ReadWrite being performed regularly.
hrFSLastFullBackupDate
DateAndTime If this information is not known, then this varia
shall have the value corresponding to Jan
0000, 00:00:00.0, which is encoded as
http://net-snmp.sourceforge.net/docs/mibs/host.html 9/17
1/22/2014 Net-SNMP
(hex)'00 00 01 01 00 00 00 00'.

Note: this object is based on the DateAndTime TEXTUAL-CONVE

The last date at which a portion of this file sys


was copied to another storage device for backup.
information is useful for ensuring that backups a
OCTETSTR
9 being performed regularly.
Legal Lengths: 8 , 11 ReadWrite
hrFSLastPartialBackupDate
DateAndTime
If this information is not known, then this varia
shall have the value corresponding to January 1,
0000, 00:00:00.0, which is encoded as
(hex)'00 00 01 01 00 00 00 00'.

Table hrSWRunTable
Table Name hrSWRunTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.4.2

The (conceptual) table of software running on the


Table Description
host.

A (conceptual) entry for one piece of software


running on the host Note that because the installed
software table only contains information for software
stored locally on this host, not every piece of
running software will be found in the installed
software table. This is true of software that was
Row Description
loaded and run from a non-local source, such as a
network-mounted file system.

As an example of how objects in this table are named,


an instance of the hrSWRunName object might be named
hrSWRunName.1287

hrSWRunTable Indexes:
Name Type Access Description

INTEGER32 A unique value for each piece of software running on


1
Legal values: 1 .. ReadOnly the host. Wherever possible, this should be the
hrSWRunIndex
2147483647 system's native, unique identification number.

Other hrSWRunTable Columns:


Name Type Access Description
Note: this object is based on the InternationalDisplayString
TEXTUAL-CONVENTION.

A textual description of this running piece of


OCTETSTR
2 software, including the manufacturer, revision, and
Legal Lengths: 0 .. 64 ReadOnly
hrSWRunName the name by which it is commonly known. If this
InternationalDisplayString
software was installed locally, this should be the
same string as used in the corresponding
hrSWInstalledName.

Note: this object is based on the ProductID TEXTUAL-CONVENTION


3 OBJECTID
hrSWRunID ProductID ReadOnly The product ID of this running piece of software.

Note: this object is based on the InternationalDisplayString


TEXTUAL-CONVENTION.
OCTETSTR
4
Legal Lengths: 0 .. 128 ReadOnly A description of the location on long-term storage
hrSWRunPath
InternationalDisplayString (e.g. a disk drive) from which this software was
loaded.

Note: this object is based on the InternationalDisplayString


TEXTUAL-CONVENTION.
OCTETSTR
5
Legal Lengths: 0 .. 128 ReadOnly
hrSWRunParameters A description of the parameters supplied to this
InternationalDisplayString
http://net-snmp.sourceforge.net/docs/mibs/host.html 10/17
1/22/2014 Net-SNMP
software when it was initially loaded.

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

The (conceptual) table of running software


Table Description
performance metrics.

A (conceptual) entry containing software performance


metrics. As an example, an instance of the
Row Description
hrSWRunPerfCPU object might be named
hrSWRunPerfCPU.1287

hrSWRunPerfTable Indexes:
Name Type Access Description

INTEGER32 A unique value for each piece of software running on


1
Legal values: 1 .. ReadOnly the host. Wherever possible, this should be the
hrSWRunIndex
2147483647 system's native, unique identification number.

Other hrSWRunPerfTable Columns:


Name Type Access Description

The number of centi-seconds of the total system's CPU


INTEGER32 resources consumed by this process. Note that on a
1
Legal values: 0 .. ReadOnly multi-processor system, this value may increment by
hrSWRunPerfCPU
2147483647 more than one centi-second in one centi-second of real
(wall clock) time.

Note: this object is based on the KBytes TEXTUAL-CONVENTION.


INTEGER32
2 Legal values: 0 ..
ReadOnly The total amount of real system memory allocated to
hrSWRunPerfMem 2147483647
KBytes this process.

Table hrSWInstalledTable
Table Name hrSWInstalledTable
In MIB HOST-RESOURCES-MIB
Registered at OID .1.3.6.1.2.1.25.6.3

The (conceptual) table of software installed on this


Table Description
host.

A (conceptual) entry for a piece of software


installed on this host.
Row Description
As an example of how objects in this table are named,
an instance of the hrSWInstalledName object might be
named hrSWInstalledName.96

hrSWInstalledTable Indexes:
http://net-snmp.sourceforge.net/docs/mibs/host.html 11/17
1/22/2014 Net-SNMP

Name Type Access Description

A unique value for each piece of software installed


INTEGER32
1 on the host. This value shall be in the range from 1
Legal values: 1 .. ReadOnly
hrSWInstalledIndex to the number of pieces of software installed on the
2147483647
host.

Other hrSWInstalledTable Columns:


Name Type Access Description
Note: this object is based on the InternationalDisplayString TEXTUAL-
CONVENTION.
OCTETSTR
2 A textual description of this installed piece of
Legal Lengths: 0 .. 64 ReadOnly
hrSWInstalledName software, including the manufacturer, revision, the
InternationalDisplayString
name by which it is commonly known, and optionally,
its serial number.

Note: this object is based on the ProductID TEXTUAL-CONVENTION


3 OBJECTID
ReadOnly
hrSWInstalledID ProductID The product ID of this installed piece of software.

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.

The last-modification date of this application as it


OCTETSTR would appear in a directory listing.
5
Legal Lengths: 8 , 11 ReadOnly
hrSWInstalledDate
DateAndTime If this information is not known, then this variable
shall have the value corresponding to January 1, year
0000, 00:00:00.0, which is encoded as
(hex)'00 00 01 01 00 00 00 00'.

DEPRECATED OR OBSOLETE OR HISTORIC


OBJECTS

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.

Name Type Description

Represents textual information taken from the NVT ASCII


character set, as defined in pages 4, 10-11 of RFC 854.
To summarize RFC 854, the NVT ASCII repertoire specifies:
- the use of character codes 0-127 (decimal)
- the graphics characters (32-126) are interpreted as
US ASCII
http://net-snmp.sourceforge.net/docs/mibs/host.html 12/17
1/22/2014 Net-SNMP
- NUL, LF, CR, BEL, BS, HT, VT and FF have the special
meanings specified in RFC 854
DisplayString OCTETSTR - the other 25 codes have no standard interpretation
- the sequence 'CR LF' means newline
- the sequence 'CR NUL' means carriage-return
- an 'LF' not preceded by a 'CR' means moving to the
same column on the next line.
- the sequence 'CR x' for any x other than LF or NUL is
illegal. (Note that this also means that a
end with either 'CR LF' or 'CR NUL', but not
Any object defined using this syntax may not exceed 255
characters in length.

Represents an independently extensible type identification


value. It may, for example, indicate a particular sub-tree
AutonomousType OBJECTID with further MIB definitions, or define a particular type of
protocol or hardware.

This data type is used to model textual information


in some character set. A network management station
should use a local algorithm to determine which
character set is in use and how it should be
InternationalDisplayString OCTETSTR displayed. Note that this character set may be
encoded with more than one octet per symbol, but will
most often be NVT ASCII. When a size clause is
specified for an object of this type, the size refers
to the length in octets, not the number of symbols.

This textual convention is intended to identify the


manufacturer, model, and version of a specific
hardware or software product. It is suggested that
these OBJECT IDENTIFIERs are allocated such that all
products from a particular manufacturer are register
under a subtree distinct to that manufacturer. In
addition, all versions of a product should be
registered under a subtree distinct to that product.
With this strategy, a management station may uniquel
determine the manufacturer and/or model of a product
ProductID OBJECTID whose productID is unknown to the management station
Objects of this type may be useful for inventory
purposes or for automatically detecting
incompatibilities or version mismatches between
various hardware and software components on a system
For example, the product ID for the ACME 4860 66MHz
clock doubled processor might be:
enterprises.acme.acmeProcessors.a4860DX2.MHz66
A software product might be registered as:
enterprises.acme.acmeOperatingSystems.acmeDOS.six(6)

KBytes INTEGER32 Storage size, expressed in units of 1024 bytes.

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

This textual convention is an extension of the


InterfaceIndex convention. The latter defines a greater
than zero value used to identify an interface or interface
sub-layer in the managed system. This extension permits the
InterfaceIndexOrZero INTEGER32 additional value of zero. the value zero is object-specific
and must therefore be defined as part of the description of
any object which uses this syntax. Examples of the usage of
zero might include situations where interface was unknown,
or when none or all interfaces need to be referenced.

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)

Last modified: Thursday, 26-May-2011 23:21:32 UTC


For questions regarding web content and site functionality, please write to the net-snmp-users mail list.

http://net-snmp.sourceforge.net/docs/mibs/host.html 17/17

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy