[SNMP4J] Time Window Error - Possible Bug?

Angie Fernandez angief at messagegate.com
Mon Aug 1 20:29:30 CEST 2005


Thanks Everyone!  I changed the engine id in the Test Agent and it works
now.  However, since all agents and managers must have unique engine
ids, is there any standard way to create engine ids such that uniqueness
is guaranteed?

Thanks,
Angie Fernandez

-----Original Message-----
From: fock at agentpp.com [mailto:fock at agentpp.com] 
Sent: Friday, July 29, 2005 2:52 PM
To: snmp4j at agentpp.org; Angie Fernandez
Subject: AW: [SNMP4J] Time Window Error - Possible Bug?

HI,

Because you are using the TestAgent and the SNMP4J command
line tool which use the same engine ID by default, you
are getting this error. Just specify a different engine ID
for either side and things will be OK. In the SNMPv3 world
there engine IDs must be unique in order to be able to do
engine ID discovery and time sync correctly.

Best regards,
Frank

>
>I'm receiving the following error when trying to send a v3 request with
>authentication to TestAgent:
>
> 
>
>DEBUG org.snmp4j.security.UsmTimeTable  - CheckTime: received message
>outside time window (authorative):engineBoots differ
>
> 
>
>It seems that the engineBoots and engineTime are never in sync between
>the agent and the message/request.  The message/request engine boots
and
>engine time are always set to 0, and the agent seems to be incrementing
>these values correctly since they are increasing over time.  Therefore,
>it looks like the engine boots and engine time aren't being initialized
>properly on the message/request when sent to the agent.
>
> 
>
>I'm running TestAgent, and using the following commands to send the
>request:
>
> 
>
>Get:
>
>SNMP4J -u SHADES -a SHA -A SHADESAuthPassword -x DES -X
>SHADESPrivPassword -v 3 -t 10000 -p GET -r 0 -d DEBUG udp:localhost/161
>"1.3.6.1.2.1.2.2"
>
> 
>
>Walk:
>
>SNMP4J -u SHADES -a SHA -A SHADESAuthPassword -x DES -X
>SHADESPrivPassword -v 3 -t 10000 -Ow -r 0 -d DEBUG udp:localhost/161
>"1.3.6.1.2.1.2.2"
>
> 
>
>I don't know if maybe I'm missing a required option on the command
line,
>or if this might be an actual bug.  I've searched the archives, and
>haven't found a solution.  Has anyone run into this before?
>
> 
>
>Thanks,
>
>Angie Fernandez
>
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
><a 
>href="http://lists.agentpp.org/mailman/listinfo/snmp4j">http://lists.ag
entpp.or
>g/mailman/listinfo/snmp4j</a>



More information about the SNMP4J mailing list