NetXMS Support Forum

English Support => General Support => Topic started by: Egert143 on April 14, 2020, 12:28:01 PM

Title: Snmp Dci but with custom target
Post by: Egert143 on April 14, 2020, 12:28:01 PM
Hello

Is it possible to add Dci to node that polls snmp but from custom ip:port? I cant add that custom ip directly since i have multiple nat-ed devices behind it. And i also dont want to create different zone for each device. Bonus points if that custom ip:port could be defined in node custom parameters.
Title: Re: Snmp Dci but with custom target
Post by: Alex Kirhenshtein on April 14, 2020, 04:01:48 PM
1) Add new node without IP (or set it to 0.0.0.0), set correct SNMP port
2) Open node properties -> communications, set "Primary host name" to external IP and select checkbox "This is address of remote management node"
3) Do full configuration poll
Title: Re: Snmp Dci but with custom target
Post by: Egert143 on April 15, 2020, 08:39:11 AM
For some reason i thought that multiple nodes with same ip cant be added, but if added as 0.0.0.0 first that did the trick. What exactly does "This is address of remote management node" checkbox do under the hood ?

Egert
Title: Re: Snmp Dci but with custom target
Post by: Victor Kirhenshtein on April 15, 2020, 09:08:09 AM
It informs server that primary communication address does not belongs to the node itself but only used to communicate with the node somehow. So it is not added to internal indexes, search by this IP address will not return nodes where it is configured as "remote management address", it will not affect topology for such node.

Best regards,
Victor
Title: Re: Snmp Dci but with custom target
Post by: Egert143 on April 15, 2020, 09:49:20 AM
Thanks for clarification.