how to get integer from "exec/extend" shell command?
Ernest Beinrohr <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | http://www.axonpro.sk |
| Message-ID | <[email protected]> |
Hi, i have a simple script which always returns and integer, I have it in my snmpd.conf as "exec test1 /bin/test.sh" and also as "extend test1 /bin/test.sh". Unfortunately, none of there returns an integer with the value from the script. Only a string. Is is somehow possible to get an integer? -- Ernest Beinrohr <http://www.beinrohr.sk/ing.php> ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ 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