snmptrapd -F options

2010-05-11 Thread Queenie de Melo
Hello, I was tring to get the traps in the a particualar format like TIME, AgentIP, TRAP-STRING I use the -F option and in quotes i specify the option as shown in the man pages for Time - the %h:%j:%k option for AgentIP --- the %B option for TRAP-STRING what option should i use. If i use

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

Re: net-snmp compilation problem still unresolved

2010-05-11 Thread Bart Van Assche
On Tue, May 11, 2010 at 3:51 AM, Group mailforgr...@gmail.com 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

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, thierry.caze...@googlemail.com 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

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 bvanass...@acm.org wrote: On Tue, May 11, 2010 at 8:45 AM, thierry.caze...@googlemail.com 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

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 bvanass...@acm.org 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

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 d.t.shi...@liverpool.ac.ukwrote: On 8 May 2010 12:40, Bart Van Assche bvanass...@acm.org 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

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