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 148.147.172.44/0 is set to: 4194304 Received response after 2262 millis Request timed out. 2) I still want to know, Is it at all possible to change current SNMP configurations (like community/port/trap destinations etc) using this commad line utility? Thanks, Rajesh ----- Original Message ---- From: Frank Fock <[email protected]> To: Rajesh Tewari <[email protected]> Cc: [email protected] Sent: Wednesday, 31 December, 2008 2:42:55 PM Subject: Re: [SNMP4J] Query using SNMP4J-linux 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 using SNMP4j-linux to make query SNMP4J agent and I'm able to do it. > > I want to know, "is it possible to change the v1/v2c community/port, trap > destination address using this utility?" > > I tried to do so but I got following error: > > [r...@putsndvp2 snmp4j_tool]# ./SNMP4J-linux +javahome /usr/java/jdk1.5.0_11/ > -d DEBUG -c eureka1 localhost > Jan 23, 2008 11:00:14 PM org.snmp4j.log.JavaLogAdapter log > INFO: UDP receive buffer size for socket 148.147.172.44/0 is set to: 4194304 > Jan 23, 2008 11:00:14 PM org.snmp4j.log.JavaLogAdapter log > WARNING: Engine ID '80:00:13:70:01:94:93:ac:2c' could not be added to engine > ID cache for target address '127.0.0.1/161' because engine ID matches local > engine ID > Jan 23, 2008 11:00:14 PM org.snmp4j.log.JavaLogAdapter log > WARNING: Engine ID '80:00:13:70:01:94:93:ac:2c' could not be added to engine > ID cache for target address '127.0.0.1/161' because engine ID matches local > engine ID > Received response after 70 millis > REPORT: Unknown engine id. Current counter value is 13. > > > Thanks, > Rajesh > > Add more friends to your messenger and enjoy! Go to >http://messenger.yahoo.com/invite/ > > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j -- AGENT++ http://www.agentpp.com http://www.mibexplorer.com http://www.mibdesigner.com Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
