String to Integer

"Clement Sciammas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <EC82B522052A4495A7A96139CF57CF18@CSCIAMMAST43>
Hi,

 

We are using net-snmp 5.3.0.1-25.25 and.doing an extend query that is
returning a string but we would like it to return an integer because it is
used by another application that will only accept integer input.  Here is
the output from snmpget:

 

/usr/bin/snmpget -v 2c -c xxxx localhost
.1.3.6.1.4.1.8072.1.3.2.3.1.2.\"qmail-process-numonly\"

 

NET-SNMP-EXTEND-MIB::nsExtendOutputFull."qmail-process-numonly" = STRING:
1907

 

 

Thanks

Clement

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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.