Re: [SNMP4J] Query using SNMP4J-linux

2008-12-31 Thread Frank Fock
Hi Rajesh, As the output explains, you are using the same engine ID as the target. Thus, you are using SNMPv3 because you did not specify any other version. Use -h to get help on the command line options. With -v 2c you choose version 2c. Best regards, Frank Rajesh Tewari wrote: Hi All, I'm

Re: [SNMP4J] Re:SNMP4J Digest, Vol 59, Issue 15 Does snmp4j support Unicode chars in trap?

2008-12-31 Thread Frank Fock
Hi Eternal, The MIB specification has to define which character set to use. To support all languages, UTF-8 (UTF-16) should be used. You cannot recognize which character set is used by the data send - you can guess, but in many cases the guess will be wrong. Since Java uses UTF internally, you

Re: [SNMP4J] Query using SNMP4J-linux

2008-12-31 Thread Rajesh Tewari
1) Ok, I tried providing the version as well and I get Request timed out... [r...@putsndvp2 snmp4j_tool]# ./SNMP4J-linux +javahome /usr/java/jdk1.5.0_11/ -d DEBUG -c eureka1 -v 2c localhost Jan 24, 2008 1:24:07 AM org..snmp4j.log.JavaLogAdapter log INFO: UDP receive buffer size for socket

Re: [SNMP4J] Query using SNMP4J-linux

2008-12-31 Thread Frank Fock
Rajesh Tewari wrote: 1) Ok, I tried providing the version as well and I get Request timed out... [r...@putsndvp2 snmp4j_tool]# ./SNMP4J-linux +javahome /usr/java/jdk1.5.0_11/ -d DEBUG -c eureka1 -v 2c localhost Jan 24, 2008 1:24:07 AM org..snmp4j.log.JavaLogAdapter log INFO: UDP receive