NetXMS agent error and not register on server

Started by user43_R, June 25, 2021, 07:31:57 AM

Previous topic - Next topic

user43_R

Netxms Server (V3.1-300)
NetXms Agent (Windows Server 2019 Std)   (I try several releases of agent 241, 300, 361 - the result is the same)

agent couldn't register on server as node

no errors in log file except:
sa.winnt           ] GetDiskInfo: GetDiskPerformanceData on device \\.\PhysicalDrive1 failed (Неверная функция.)

except that - agent starting well and listening on default ports,  windows defender and antivirus is disabled
the same configuration of agent on Windows Server 2012 R2  works well

full log file and conf in attachment

poll configuration from server gives this result:

[25.06.2021 07:29:40] **** Poll request sent to server ****
[25.06.2021 07:29:40] Poll request accepted
[25.06.2021 07:29:40] Starting configuration poll for node Center-1C
[25.06.2021 07:29:40] Checking node's capabilities...
[25.06.2021 07:29:40]    Checking NetXMS agent...
[25.06.2021 07:29:40]    Cannot connect to NetXMS agent (Internal error)
[25.06.2021 07:29:40] Capability check finished
[25.06.2021 07:29:40] Checking interface configuration...
[25.06.2021 07:29:40] Unable to get interface list from node
[25.06.2021 07:29:40] Interface configuration check finished
[25.06.2021 07:29:40] Checking node name
[25.06.2021 07:29:40] Node name is OK
[25.06.2021 07:29:40] Finished configuration poll for node Center-1C
[25.06.2021 07:29:40] Node configuration was not changed after poll
[25.06.2021 07:29:40] **** Poll completed successfully ****

please, give any ideas

Victor Kirhenshtein

From the log it looks like connection from server never gets to agent. Try to connect with telnet or nxget to this server from NetXMS server machine - you may get a bit more diagnostic. Also make sure that in node properties you have correct IP address.

Best regards,
Victor

user43_R

The issue was that VPN tunnel between agent and server was NAT-ed and the packets from server was marked as peckets from router IP (not server IP)