[SNMP4J] Reg: Unable to receive SNMP v3 traps

Frank Fock fock at agentpp.com
Fri Jul 11 23:37:43 CEST 2014


Hi Nithin,

Sorry, you are right. Then you are not using SNMP4J version 2.2.2 or 
never, right?
Please update to fix the problem.

Best regards,
Frank


Am 11.07.2014 20:24, schrieb nithin.jagadeesh at velankani.com:
> Hi Frank,
>
> It seems is other way around. The local USM has 0 and the sender 
> reports 40.
> Does TrapReceiver need to sync engine boot and engine time with that 
> of Sender?
>
>
> Thanks & Regards,
> Nithin K J
> Quoting Frank Fock <fock at agentpp.com>:
>
>> Hi,
>> The local USM cache has stored a value of 40. The sender reports 0, 
>> which is less. Therefore the message is being dropped. You will have 
>> to reset the cached value to 0, and then fix the sender to 
>> persistently store its own engine boots counter.
>> Best regards,
>> Frank
>>
>> Am 11.07.2014 um 13:58 schrieb "Nithin Jagadeesh" 
>> <nithin.jagadeesh at velankani.com>:
>>
>>> Hi Frank,
>>>
>>> I am having problem in receiving SNMP v3 traps. Enabling the snmp4j 
>>> logs printed some debug messages as below
>>>
>>>
>>> 89989 [DispatchThreads.0] DEBUG org.snmp4j.mp.MPv3  - SNMPv3 header 
>>> decoded: msgId=1519783460, msgMaxSize=65507, msgFlags=03, secModel=3
>>> 89989 [DispatchThreads.0] DEBUG org.snmp4j.security.USM  - 
>>> getUser(engineID=80:00:1f:88:80:73:05:06:66:09:73:9b:53:00:00:00:00, 
>>> securityName=traptest)
>>> 89989 [DispatchThreads.0] DEBUG org.snmp4j.security.UsmTimeTable  - 
>>> CheckTime: received message outside time window 
>>> (authoritative):engineBoots differ 0!=40
>>> 89989 [DispatchThreads.0] DEBUG org.snmp4j.security.USM  - RFC3414 
>>> ยง3.2.7.a Not in time window; 
>>> engineID='80:00:1f:88:80:73:05:06:66:09:73:9b:53:00:00:00:00', 
>>> engineBoots=40, engineTime=0
>>> 89989 [DispatchThreads.0] WARN org.snmp4j.MessageDispatcherImpl  - 
>>> statusInfo=1.3.6.1.6.3.15.1.1.2.0 = 0, status=1411
>>>
>>>
>>> It says engineBoots differ. I have not configured any engineBoots in 
>>> my receiever code.
>>> Could you please let me know where I am missing in configuration ?
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>> Nithin K J
>
>
>
>

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list