[SNMP4J] Query using SNMP4J-linux

Rajesh Tewari rtewari at ymail.com
Wed Dec 31 10:49:04 CET 2008


1) Ok, I tried providing the version as well and I get "Request timed out."..

[root at 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 <fock at agentpp.com>
To: Rajesh Tewari <rtewari at ymail.com>
Cc: snmp4j at agentpp.org
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:
> 
> [root at 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
> SNMP4J at agentpp.org
> 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/




More information about the SNMP4J mailing list