RE: String to Integer
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC09830396@mailserver.metatv-ds.metatv.com> |
> From: Clement Sciammas [mailto:[email protected]] > Sent: Friday, October 10, 2008 10:47 AM > 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: The extend command only returns strings. You will need to parse the output line into an integer type in whatever scripting language or adapter you are using to process the output. HTH, Mike ------------------------------------------------------------------------- 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