On Wed, 2005-11-09 at 16:09 -0700, Darren Gamble wrote:
> Just to add to this, there are a number of "standard" OIDs that do use
> this method to represent floating point numbers; there is are load
> average objects in the host MIB that comes to mind

Talking about "the host MIB" is somewhat misleading.
My immediate reaction was that you were referring to the
Host Resources MIB, where the processor load object
(hrProcessorLoad) is actually a percentage value - an
unsigned integer.

>                          (there are also other values
> that store an integer which contains the load average
> times 100, as per one of the other suggestions given here).

I believe that you are actually referring to the load
average table in the UCD-SNMP-MIB - yes?  In fact, that
table illustrates all three approaches I described yesterday:

  - an integer representing a fixed-point value
       (laLoadInt)
  - an opaque-wrapped floating point value
       (laLoadFloat)
  - a printable string representation
       (laLoad)

These three objects all report exactly the same underlying
value, but in three different forms.


Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to