On 2 July 2010 13:47, John Waller <[email protected]> wrote:
> Physical Memory:
> The Physical Memory is calculated based on the values populated in the
> HOST-RESOURCES-MIB:hrStorageTable (1.3.6.1.2.1.25.2.2.3).
> The OIDs used are hrStorageSize (1.3.6.1.2.1.25.2.3.1.5),
> hrStorageUsed (1.3.6.1.2.1.25.2.3.1.6)
> and hrStorageAllocationUnits (1.3.6.1.2.1.25.2.3.1.4) .
Eh?
This rather relies on the hrStorageTable *only* reporting memory usage.
That is a somewhat dangerous (read broken/wrong) assumption.
This particular table is designed for reporting a range of storage types,
including fixed, network and removeable disks, as well as memory,
buffers, and assorted other types of storage.
It would seem more sensible to take the value for physical memory from
the MIB object HOST-RESOURCES-MIB::hrMemorySize
which is defined as being
"The amount of physical read-write main memory,
typically RAM, contained by the host."
Dave
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders