[SNMP4J] Help with TestAgent!!

Frank Fock fock at agentpp.com
Thu Sep 27 18:47:49 CEST 2007


Hi Murali,

Muralidharan Narayanan wrote:
> 
> - Upon running the example as is, I see the following ouput. But the INFORM
> (trap) for COLDSTART is not coming to the SNMP manager running on the same
> PC that this "TestAgent" is running.

Have you used a sniffer to investigate this?
Is the manager listening on the loopback interface (127.0.0.1)?
Does your machine has such an interface?
Is the SNMPv3 configuration correct on manager side (i.e.
for MIB Explorer the user SHADES must be configured and
the "Principal" check box must be checked)?
> 
> - I was running the SNMP manager MIBExplorer with SNMPv2c versus TestAgent
> with SNMPv3 - Didn't see the INFORM. I also tried SNMP manager in
> MIBExplorer with SNMPv3 (SHADES user added) versus TestAgent with SNMPv3 -
> Didn't see INFORM either.
> 
Do you have configured a trap receiver on 0.0.0.0 interface
and checked the principal option?

> - However, I am able to SEND & RECEIVE "GET/GET-RESPONSE" messages from the
> SNMP manager on the same PC. I sent GET requests for MIB obj
> snmpv2MIB.SysUpTime (1.3.6.1.2.1.1.3) and was able to get response. This
> worked only with manager on v2c only, not woring for manager on v3 though.
> 
Seems to be a configuration problem...

> - If I strip down all SNMPv3 references from TestAgent and run it with SNMP
> manager on v2c, I receive the COLDSTART trap but I am unable to SEND &
> RECEIVE "GET/GET-RESPONSE" messages
> 
> Does anybody know why?
Not really. What means "strip down" exactly?
Most likely something important is now missing...

Best regards,
Frank

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list