[SNMP4J] Reg: Unable to receive SNMP v3 traps

Nithin Jagadeesh nithin.jagadeesh at velankani.com
Mon Jul 14 06:07:21 CEST 2014


H Frank,

I am using snmp4j-2.3.0 version at Trap receiver (SNMP Manager) end. 
And the trap sender is net-snmp agent.


Thanks & Regards,
Nithin K J

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: 12 July 2014 03:08
To: nithin.jagadeesh at velankani.com
Cc: <snmp4j at agentpp.org>
Subject: Re: Reg: Unable to receive SNMP v3 traps

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