Re: Option to change the output format of the command line tools

2012-07-27 Thread Dave Shield
On 11 July 2012 23:56, Wes Hardaker wrote: > Andreas Köster writes: > >> -Op PRECISION_STRING >> which allows to change the default behavior and inserts this precision >> string into the sprintfs used for output. > ... >> Another idea is to define a corresponding snmp.conf item. > > I think both

Re: Option to change the output format of the command line tools

2012-07-11 Thread Wes Hardaker
Andreas Köster writes: > -Op PRECISION_STRING > which allows to change the default behavior and inserts this precision > string into the sprintfs used for output. ... > Another idea is to define a corresponding snmp.conf item. I think both options should be done and that sounds like a great ide

Option to change the output format of the command line tools

2012-07-07 Thread Andreas Köster
Hi coders, we are using net-snmp for some years now to control power supplies -really a great project! Some customers use OPAQUE double/float OIDs, and complain about the "wrong" resolution of snmpget (too many digits, to less resolution, ...). The typical way up till now is to modify the corre