NetXMS Support Forum

English Support => General Support => Topic started by: tamws on September 14, 2023, 08:22:30 AM

Title: Receive SNMP v3 trap at NetXMS
Post by: tamws on September 14, 2023, 08:22:30 AM
Dear all,

I know that we can add SNMPv3 get polling connection to the nodes in each node's Communication > SNMP 

How about does NetXMS support receiving SNMPv3 trap send by each node?
Based on my testing seems only SNMPv2 trap can send to NetXMS, when I use SNMPv3 trap with AES encryption of AES128 or AES256, the NetXMS server seems did not receive any traps at v3 protocol.

I'm using NetXMS 4.3.7


Thanks,
Vincent
Title: Re: Receive SNMP v3 trap at NetXMS
Post by: lhpaladin on September 16, 2023, 02:46:24 AM
Hi,

I believe it is some incorrect configuration. NetXMS is capable of receiving SNMPv3 traps. NetXMS supports only DES or AES128 encryption, if I'm not wrong.
Title: Re: Receive SNMP v3 trap at NetXMS
Post by: Filipp Sudanov on September 16, 2023, 08:46:31 AM
To receive SNMP v3 traps, in node properties SNMP settings should be set to SNMP version 3 and corresponding credentials should be specified.

There's an idea to have these credentials separate, here's the ticket for that: https://track.radensolutions.com/issue/NX-2456
Title: Re: Receive SNMP v3 trap at NetXMS
Post by: tamws on September 20, 2023, 03:36:27 PM
Hi lapaladin and Filipp, thanks for your replies!

I tried to set SNMPv3 that use MD5 for authentication and AES128 for encryption. By Wireshark, I am sure the packet can send to my NetXMS server UDP port 162, however it does not appear in the Logs > SNMP Traps


Is there something else I need to configure also?
I'm using Windows Server version, is there any different?

Can I use any debug to see if NetXMS does received the SNMPv3 packet?
Title: Re: Receive SNMP v3 trap at NetXMS
Post by: tamws on September 20, 2023, 04:47:39 PM
Dear all,

I resolved my own problem!

I have turned on debug DebugLevel =7 at etc/netxmsd.conf
and I found that the problem should be at my SNMPv3 sending node.

I used another server to send SNMPv3, and when it match the node's SNMPv3 security context the snmp trap can be received at NetXMS.

Thanks for you guys information!

Vincent
Title: Re: Receive SNMP v3 trap at NetXMS
Post by: Filipp Sudanov on September 20, 2023, 04:53:19 PM
Great, thanks for update