On 02/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello All, > > net snmp clients (snmpwalk and snmpget) understand types > OPAQUE_DOUBLE and OPAQUE_FLOAT. > > However, these are not recognized by HP OpenView and other clients. > > Does somebody know a workaround? Is the any way how to teach HP OpenView > (e.g via MIBs) to correctly interpret OPAQUE_DOUBLE and OPAQUE_FLOAT?
No. Interpreting these two types requires explicit code, to convert between the on-the-wire representation of the value, and the actual float value itself. If the toolkit you are using does not support these types, then no amount of fiddling with MIB files or configuration settings will make it recognise them. You'd need to supply extra code. (Which is not really possible with commercial products like OpenView). Alternatively, consider using a string-based representation of the float value. Or a fixed-point value, using an integer-based object defined with suitable units. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users