[SNMP4J] Usm_Stats_Not_In_Time_Window problem in SNMP4j

Jochen Katz katz at agentpp.com
Mon Nov 8 21:46:55 CET 2010


Hi,

> How can I handle usmStatsNotInTimeWindow Report  in my code?

if you get this report as a response to your request, you should tell
the user (who is using the application) that there is a security issue
with the time information of the agent that he wanted to query. And if
the user typed in "Yes, I know what I am going to do!", you can allow
him to click on the button to reset the time information for this
specific agent. Do not do this automatically!

> Is there any specific setting which I need to set to get this Report (I
> mean how can I accept this Report, is there any specific port??), bcz I
> don't see this Report in my code (log) but I am able to see this Report
> in Ethereal.

You don't have to change any settings. The report is automatically
handled by SNMP4J when it is safe to handle it. And it will be returned
to your code, if it cannot be handled automatically.

If you do not use encryption, have a look at the engineBoots and
engineTime values within each message in ethereal/wireshark.

Regards,
  Jochen



More information about the SNMP4J mailing list