snmpget timeout error on multiple counter64 OIDs

2010-05-11 Thread X Z
Hi, I ran into snmpget timeout error when running snmpget -v2c -c public xxx OID1 OID2 and it only happened when both OID1 and OID2 are of type counter64. snmpget on either OID1 or OID2 can return the correct counter64 value. It worked just fine if I ran "snmpget -v2c -c public xxx OID3 OID4" wh

Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing

2010-05-11 Thread Bart Van Assche
On Tue, May 11, 2010 at 5:51 PM, Dave Shield wrote: > On 8 May 2010 12:40, Bart Van Assche wrote: > > The Perl Counter64 code is buggy anyway, with or without patch #2890931. > > According to the strtoul() and strtoull() man pages, it is not guaranteed > > that errno is set when the conversion of

Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing

2010-05-11 Thread Dave Shield
On 8 May 2010 12:40, Bart Van Assche wrote: > The Perl Counter64 code is buggy anyway, with or without patch #2890931. > According to the strtoul() and strtoull() man pages, it is not guaranteed > that errno is set when the conversion of a non-zero argument succeeded. See > also http://www.opengro

Re: [ net-snmp-Bugs-2999463 ] why snmpget display string instead of hex-string

2010-05-11 Thread Dave Shield
On 11 May 2010 11:47, Bart Van Assche wrote: > On Tue, May 11, 2010 at 8:45 AM, wrote: >> In fact I want to know how it is choiced to display information in string >> format instead of hex-string? > When no output format is specified, snmpget application prints strings that > contain non-print

Re: [ net-snmp-Bugs-2999463 ] why snmpget display string instead of hex-string

2010-05-11 Thread Bart Van Assche
On Tue, May 11, 2010 at 8:45 AM, wrote: > > I apology creating a ticket but I'm not familiar with the process. > > In fact I want to know how it is choiced to display information in string > format instead of hex-string? > > snmpset -v 2c -t 3 -r 1 -m all -O sq -c private 192.168.100.1 > 1.3.6.1.

Re: net-snmp compilation problem still unresolved

2010-05-11 Thread Bart Van Assche
On Tue, May 11, 2010 at 3:51 AM, Group wrote: > Thanks for the command. I could see the debug messages now. > I have added a new MIB. To add those objects to snmpd. > Do i need to do configure again?. Is there any other way to do this. > You have to write code in order to add support for a new

Fwd: [ net-snmp-Bugs-2999463 ] why snmpget display string instead of hex-string

2010-05-11 Thread thierry . cazeaux
Hi, I apology creating a ticket but I'm not familiar with the process. In fact I want to know how it is choiced to display information in string format instead of hex-string? snmpset -v 2c -t 3 -r 1 -m all -O sq -c private 192.168.100.1 1.3.6.1.4.1..2.99.1.1.2.1.4.1.2.8 x %1 %1 is onc