Re: how to get integer from "exec/extend" shell command?
Ernest Beinrohr <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | AXON PRO |
| Message-ID | <[email protected]> |
Dňa 09.11.2010 09:49, Dave Shield wrote / napísal(a): > 2010/11/8 Ernest Beinrohr<[email protected]>: >> Well, that does not really help, I've tried. My number is quite large, >> like bytes on and interface. Too big for return value. > In which case, the exec/extend mechanism is probably not the best > choice for you. This is intended as a quick-and-easy mechanism > for providing information without needing to define/implement a MIB. > The price associated with this is that the MIB structure it uses is > fixed, and may not be appropriate for all uses. > > We've tried to make this framework as generic as possible, but > if you need information that falls outside this MIB, then you are > looking at either processing this on the client side (to turn the > string into a number), or defining a new MIB that more closely > matches your requirements. > > Dave > Thank you, I feared i'll be like this. Any tips how to begin with this new MIB? Will source changes be necessary? Of is it (only) a configuration /mib issue? thanks ------------------------------------------------------------------------------ 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