Alberto> which is the best way to manage floating-point values with SNMP?

What Robert says is strictly correct.
But there are actually three ways to handle non-integer numeric values.

  a)  Display it as a string and convert as necessary
  b)  As an integer value, interpreted as a "fixed point" number
         (with an implicit location of the decimal point)
  c)  Using the Opaque wrapper (which in practise is only implemented
          by the Net-SNMP toolkit, though it should work with other
          code if they added support for this type)

The UCD-SNMP-MIB::laTable includes examples of all three approaches.


Dave



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to