(I hope that this is the correct list to ask for support about this
question).

I'm developing a perl subagent, and initially I get this error on the
perl subagent:

Non-integer value passed to setValue with ASN_INTEGER: type was 6

Then I use "pack('I',$value)" to return the OIDs values and the problem
gets solved. (at least for all Counter32 and Gauge values)

But now, I've noticed that the OIDs that were defined as Integer32 on
the MIB, always return '0' despite the real value stored on the
variable.

My question is ¿How I convert a normal scalar perl value to a value
suitable for ASN_INTEGER?

Thanks




------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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

Reply via email to