NetXMS Support Forum

English Support => General Support => Topic started by: tmo on October 13, 2025, 12:21:38 PM

Title: Devices not being added after scan
Post by: tmo on October 13, 2025, 12:21:38 PM
I have configured a remote agent trough the agent tunnel and linked the agent to a container in a zone. I have setup network discovery for the zone and selected the agent as the proxy node. In the agent logs, I can see the scan is being activated and lots of devices are found with both icmp and snmp scan, but nodes are not being added. Anyone who can guide me where to look for issues?
Title: Re: Devices not being added after scan
Post by: Filipp Sudanov on October 16, 2025, 12:43:16 AM
Where exactly you are checking for new nodes, under Infrastructure services or under Entire network?

You can enable debug, in server debug console:
debug poll.discovery 6

Then check server log, there should be some messages on what's happening.

To disable debug:
debug poll.discovery -1
Title: Re: Devices not being added after scan
Post by: tmo on October 19, 2025, 12:20:13 PM
Here is what I get in the log.

2025.10.19 11:17:16.765 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.66): MAC address is not known, will lookup in ARP caches
2025.10.19 11:17:16.765 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.66): found MAC address 70:CA:97:38:28:30
2025.10.19 11:17:16.765 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.66): filter flags=0000
2025.10.19 11:17:16.823 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.52): host is not reachable
2025.10.19 11:17:16.823 *D* [poll.discovery     ] ProcessDiscoveredAddressStage1(10.21.200.52): address discarded
2025.10.19 11:17:16.824 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.68): MAC address is not known, will lookup in ARP caches
2025.10.19 11:17:16.824 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.68): found MAC address 4C:B1:CD:25:52:20
2025.10.19 11:17:16.824 *D* [poll.discovery     ] AcceptNewNodeStage1(10.21.200.68): filter flags=0000
2025.10.19 11:17:25.721 *D* [poll.discovery     ] HostIsReachable(10.21.200.59): agent connection check failed with error 910 (Connect failed)
2025.10.19 11:17:25.935 *D* [poll.discovery     ] HostIsReachable(10.21.200.60): agent connection check failed with error 910 (Connect failed)
2025.10.19 11:17:25.935 *D* [poll.discovery     ] HostIsReachable(10.21.200.61): agent connection check failed with error 910 (Connect failed)
2025.10.19 11:17:26.131 *D* [poll.discovery     ] HostIsReachable(10.21.200.62): agent connection check failed with error 910 (Connect failed)
2025.10.19 11:17:26.307 *D* [poll.discovery     ] HostIsReachable(10.21.200.65): agent connection check failed with error 910 (Connect failed)
2025.10.19 11:17:26.307 *D* [poll.discovery     ] HostIsReachable(10.21.200.66): agent connection check failed with error 910 (Connect failed)
Title: Re: Devices not being added after scan
Post by: Filipp Sudanov on October 20, 2025, 04:20:17 PM
I've checked your initial message, do not truly understand what is meant by "linked the agent to a container in a zone".
Agent should be specified in Zone's properties on Communications page. Zones are found under "Entire network" (Network perspective).
From agent's side it's configuration should have
EnableProxy = yes
EnableSNMPProxy = yes

If issue still persist, please grep the log for 2-3 specific IP addresses so that we have full process for each of them.
Title: Re: Devices not being added after scan
Post by: tmo on October 23, 2025, 02:28:42 PM
I'm a novice user at NetXMS, so bear with me about technical terms, but link/binding or not, should not limit the ability to add discovered nodes.

Here is the log from a node with 192.168.1.205, which does not get added.

root@netxms01:~# tail /var/log/netxmsd -n 2000 | grep 192.168.1.205
2025.10.23 12:07:23.989 *D* [poll.discovery    ] Active discovery - node 192.168.1.205 responded to ICMP probe via proxy TEST-TEST-DESKTOP-4VOF9D3 [74588]
2025.10.23 12:07:23.989 *D* [poll.discovery    ] Checking address 192.168.1.205 in zone 8 (source: Active Discovery)
2025.10.23 12:07:23.990 *D* [poll.discovery    ] New node queued: 192.168.1.205/24
2025.10.23 12:07:23.991 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): MAC address is not known, will lookup in ARP caches
2025.10.23 12:07:24.010 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): found MAC address F0:9F:C2:C3:43:E0
2025.10.23 12:07:24.010 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): filter flags=0000
2025.10.23 12:07:33.540 *D* [poll.discovery    ] HostIsReachable(192.168.1.205): agent connection check failed with error 910 (Connect failed)
2025.10.23 12:07:39.982 *D* [poll.discovery    ] Active discovery - node 192.168.1.205 responded to SNMP probe via proxy TEST-TEST-DESKTOP-4VOF9D3 [74588]
2025.10.23 12:07:39.982 *D* [poll.discovery    ] Checking address 192.168.1.205 in zone 8 (source: Active Discovery)
2025.10.23 12:07:39.983 *D* [poll.discovery    ] New node queued: 192.168.1.205/24
2025.10.23 12:07:39.983 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): MAC address is not known, will lookup in ARP caches
2025.10.23 12:07:40.118 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): found MAC address F0:9F:C2:C3:43:E0
2025.10.23 12:07:40.118 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): filter flags=0000
2025.10.23 12:07:45.212 *D* [poll.discovery    ] Active discovery - node 192.168.1.205 responded to SNMP probe via proxy TEST-TEST-DESKTOP-4VOF9D3 [74588]
2025.10.23 12:07:45.212 *D* [poll.discovery    ] Checking address 192.168.1.205 in zone 8 (source: Active Discovery)
2025.10.23 12:07:45.213 *D* [poll.discovery    ] New node queued: 192.168.1.205/24
2025.10.23 12:07:45.213 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): MAC address is not known, will lookup in ARP caches
2025.10.23 12:07:45.301 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): found MAC address F0:9F:C2:C3:43:E0
2025.10.23 12:07:45.301 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): filter flags=0000
2025.10.23 12:07:49.696 *D* [poll.discovery    ] HostIsReachable(192.168.1.205): agent connection check failed with error 910 (Connect failed)
2025.10.23 12:07:54.848 *D* [poll.discovery    ] HostIsReachable(192.168.1.205): agent connection check failed with error 910 (Connect failed)
2025.10.23 12:08:19.293 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): host is not reachable
2025.10.23 12:08:19.293 *D* [poll.discovery    ] ProcessDiscoveredAddressStage1(192.168.1.205): address discarded
2025.10.23 12:08:35.267 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): host is not reachable
2025.10.23 12:08:35.267 *D* [poll.discovery    ] ProcessDiscoveredAddressStage1(192.168.1.205): address discarded
2025.10.23 12:08:40.513 *D* [poll.discovery    ] AcceptNewNodeStage1(192.168.1.205): host is not reachable
2025.10.23 12:08:40.513 *D* [poll.discovery    ] ProcessDiscoveredAddressStage1(192.168.1.205): address discarded