Re: OPAQUE DOUBLE

This is a discussion on Re: OPAQUE DOUBLE within the SNMP Users forums, part of the Networking and Network Related category; Hello Dave, thanks for your confirmation. We were trying to avoid string representation of floats since it is difficult to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-02-2007
Milan_Tvarozek@tempest.sk
 
Posts: n/a
Default Re: OPAQUE DOUBLE

Hello Dave,

thanks for your confirmation. We were trying to avoid string
representation of floats since it is difficult to compare them (e.g. to
preset thresholds).

We will consider fixed point as you are suggesting.

Milan

On Tue, October 2, 2007 10:06 am, Dave Shield wrote:
> On 02/10/2007, Milan_Tvarozek@tempest.sk <Milan_Tvarozek@tempest.sk>
> 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/...net-snmp-users
>
>
>




-------------------------------------------------------------------------
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0