Using the SNMP - Core ToolHow to retrieve and interpret data from HOST-RESOURCES-MIB

About SNMP

Simple Network Management
Protocol (SNMP) is a network device management and
reporting protocol that returns static and dynamic data
from a target device in a directory tree style.
NetScanTools Pro SNMP-Core includes two tools to
traverse or 'WALK' the tree and obtain values from each
level of the tree. The left side path to the value can
be presented three ways: numeric OID format, short
format with MIB name followed by shortened reference or
fully qualified human readable format.

HOST-RESOURCES-MIB is
defined in RFC 2790.

NetScanTools Pro can
accept input OIDs in any of these three forms (you must
have MIBs available to translate the first two formats,
numeric will always work and is recommended for
research).

objectID (OID) in shortened format for retrieving a
single data itemHOST-RESOURCES-MIB::hrSystemUptime

Interpreting the Host Resources MIB Data

All of the following data is from a single Cisco
Call Manager virtual machine except as noted where we
refer to similar data from a 32 bit Windows workstation.

The first block you will see is the System data. It
shows how long the system has been up, the system date
and time, the number of users, the current number of
processes and the maximum number of processes the system
can support.

In a Windows 32 bit system, the
response is similar, in this case the system shows 3
gigabytes:

HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3274836
Kbytes

hrMemorySize is the first item in
the Host Resources Storage Group. It is followed by a
Storage Table that shows the logical storage areas of
the device including hard drives, removable drives,
virtual and physical memory and other types of storage.

To find out how much storage has
been used on each storage device, first obtain the
storage size from above, then multiply hrStorageUsed x
hrStorageAllocationUnits and subtract it from the
storage size.