RE: Problem with SNMPv3 traps with authentication

Michał Tarczyński <[email protected]> Wed, 31 Mar 2021 08:44:11 +0200
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Frank,

 

I think it’s not a problem with engine ID because when the noAuthNoPriv SNMPv3 trap is sent then the engine ID is also used and when I set incorrect engine ID then the noAuthNoPriv trap is not received.

I have to use trap messages in my project, not INFORM messages.

 

Best regards,

Michael

 

From: Frank Fock <[email protected]> 
Sent: Wednesday, March 31, 2021 12:15 AM
To: Michał Tarczyński <[email protected]>
Cc: [email protected]
Subject: Re: Problem with SNMPv3 traps with authentication

 

Hi Michael,

 

I guess you need to check your SNMPv3 engine ID configuration (i.e. use unique SNMPv3 engine IDs for all SNMPv3 entities) when you test using SNMP4J only. 

In addition, when using the NET-SNMP snmptrap or any other notification sender with the SNMP4J trap listener or any other notification receiver, you need to add the USM auth(No)Priv user with the engine ID of the snmptrap entity to the USM of the SNMP4J notification receiver. 

 

This is required, because for SNMPv3 traps/notifications, the notification sender is authoritative.

 

Hope this helps.

 

Best regards,

Frank

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users