Re: Returning SNMP float values?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/6/12 Joshua Tolley <[email protected]>:
>  I'm trying to return float values. The nearest thing I see is a
> Float type defined in UCD-SNMP-MIB, defined in terms of an Opaque type, in
> SNMPv2-SMI. Opaque is defined as "IMPLICIT OCTET STRING". I guess that means
> if I want to return a floating type, I return it as a string

No.

Please see the code for 'ucd-snmp/loadave.c'
where there is an example of a Float syntax MIB object.


Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.