<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NetXMS Agent on NetXMS Server not working after Database Migration]]></title><description><![CDATA[<p dir="auto">Hello @all,</p>
<p dir="auto">i migrated our NetXMS V5.0.3 Installation from Windows (Win10/MySQL) to Linux (Debian 12/PostgreSQL).</p>
<p dir="auto">Migration worked so far, all pollings are working, except the NetXMS Agent running at the NetXMS Server itself. Before i migrated the DB the agent on the new Linux NetXMS server was working, the agent was recognized from the server and shows many DCI's which was standard after a clean install of the NetXMS Server.</p>
<p dir="auto">After the migration of the DB, the NetXMS agent infrastructure object still exist, but the DCI are empty and the NetXMS Server cannot reach his own agent. If i make a configuration poll i see this:</p>
<pre><code>[06.06.2024 15:32:19] **** Poll request sent to server ****
[06.06.2024 15:32:19] Poll request accepted, waiting for outstanding polling requests to complete...
[06.06.2024 15:32:19] Starting configuration of for node XXXXX
[06.06.2024 15:32:19] Capability reset
[06.06.2024 15:32:19] Checking node's capabilities...
[06.06.2024 15:32:19]    Checking NetXMS agent...
[06.06.2024 15:32:19]    Cannot connect to NetXMS agent (Internal error)
[06.06.2024 15:32:19]    Checking SNMP...
[06.06.2024 15:32:37]    No response from SNMP agent
[06.06.2024 15:32:37]    Checking SSH connectivity...
[06.06.2024 15:32:37]    Cannot connect to SSH
[06.06.2024 15:32:37]    Checking EtherNet/IP...
[06.06.2024 15:32:37]    Cannot establish EtherNet/IP connection or get device identity (CONNECT FAILED)
[06.06.2024 15:32:37]    Checking Modbus TCP...
[06.06.2024 15:32:37]    Device does not respond to Modbus TCP request (Communication failure)
[06.06.2024 15:32:37] Capability check finished
[06.06.2024 15:32:37] Checking interface configuration...
[06.06.2024 15:32:37] Interface configuration check finished
[06.06.2024 15:32:37] Checking node name
[06.06.2024 15:32:37] Node name cannot be interpreted as valid IP address, no need to resolve to host name
[06.06.2024 15:32:37] Updating general system hardware information
[06.06.2024 15:32:37] Processing template automatic apply rules
[06.06.2024 15:32:37] Processing container autobind rules
[06.06.2024 15:32:37] Processing cluster autobind rules
[06.06.2024 15:32:37] Finished configuration poll of node XXXXX
[06.06.2024 15:32:37] Node configuration was not changed after poll
[06.06.2024 15:32:37] **** Poll completed successfully ****
</code></pre>
<p dir="auto">The NetXMS Server gets an "Internal Error" from his own agent...</p>
<p dir="auto">In the NetXMS Agent log i get this lines:</p>
<pre><code>2024.06.06 15:31:36.353 *I* [logger             ] Log file opened (rotation policy 2, max size 4194304)
2024.06.06 15:31:36.353 *I* [logger             ] Log rotation policy set to 2 (size=16777216, count=4)
2024.06.06 15:31:36.353 *I* [startup            ] Core agent version 5.0.3 (build tag 5.0-910-gc6da21a763)
2024.06.06 15:31:36.353 *I* [config             ] Additional configuration files was loaded from /etc/nxagentd.conf.d
2024.06.06 15:31:36.353 *I* [logger             ] Debug level set to 0
2024.06.06 15:31:36.353 *I* [config             ] Main configuration file: /etc/nxagentd.conf
2024.06.06 15:31:36.353 *I* [config             ] Configuration tree:
2024.06.06 15:31:36.353 *I* [config             ] config
2024.06.06 15:31:36.353 *I* [config             ]  +- CORE
2024.06.06 15:31:36.353 *I* [config             ]      +- LogFile
2024.06.06 15:31:36.353 *I* [config             ]      |    value: /var/log/nxagentd
2024.06.06 15:31:36.353 *I* [config             ]      +- MasterServers
2024.06.06 15:31:36.353 *I* [config             ]           value: 127.0.0.0/8
2024.06.06 15:31:36.353 *I* [startup            ] Data directory: /var/lib/netxms
2024.06.06 15:31:36.353 *I* [startup            ] File store: /tmp
2024.06.06 15:31:36.355 *I* [crypto             ] Crypto library initialized (OpenSSL 3.0.11 19 Sep 2023)
2024.06.06 15:31:36.361 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2024.06.06 15:31:36.381 *I* [db.agent           ] Local database opened successfully
2024.06.06 15:31:36.381 *I* [startup            ] Agent ID is 32ac1782-dda7-4f04-a2e7-ca40c8587c61
2024.06.06 15:31:36.381 *I* [startup            ] Local host name is "XXXXX"
2024.06.06 15:31:36.382 *I* [startup            ] Using system name "XXXXX"
2024.06.06 15:31:36.382 *I* [startup            ] Arbitrary command execution disabled
2024.06.06 15:31:37.386 *I* [linux              ] Unable to parse /proc/drbd, DRBD data collector will not start
2024.06.06 15:31:37.387 *I* [subagents          ] Subagent "Linux" (/usr/lib/x86_64-linux-gnu/netxms/linux.nsm) loaded successfully (version 5.0.3)
2024.06.06 15:31:37.387 *I* [startup            ] System hardware ID is F2B436DCA100E80B2A56CF0AB00456765E905849
2024.06.06 15:31:38.392 *I* [comm               ] Control connector is disabled
2024.06.06 15:31:38.392 *I* [comm               ] Listening on socket 0.0.0.0:4700
2024.06.06 15:31:38.392 *I* [comm               ] Listening on socket :::4700
2024.06.06 15:31:39.393 *I* [filemon            ] Path list for file monitor is empty
2024.06.06 15:31:39.393 *I* [                   ] NetXMS Agent started
</code></pre>
<p dir="auto">I think this line:</p>
<pre><code>2024.06.06 15:31:37.386 *I* [linux              ] Unable to parse /proc/drbd, DRBD data collector will not start
</code></pre>
<p dir="auto">is maybe for a dev a hint to the problem...</p>
<p dir="auto">So, have anyone any suggestions what i can do, to get a working NetXMS Agent on the NetXMS Server itself (perhaps with all DCI's which are comes with a clean new NetXMS Server install)?</p>
<p dir="auto">Greetings<br />
Marco</p>
]]></description><link>https://forum.netxms.org/topic/7960/netxms-agent-on-netxms-server-not-working-after-database-migration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 17:54:53 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7960.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jun 2024 14:55:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS Agent on NetXMS Server not working after Database Migration on Mon, 10 Jun 2024 06:45:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi Filipp,</p>
<p dir="auto">thanks for the hint... I restartet NetXMS server, but the templates where not applied to the NetXMS Server Agent.</p>
<p dir="auto">The println($node.isLocalManagement); show "true" for the NetXMS Server Agent node.</p>
<p dir="auto">After that, i imported the netxms_server.xml into NetXMS and deploy the template to the NetXMS Server Agent Node and voila... it worked ;D all DCI's from NetXMS Server are in place...</p>
<p dir="auto">Thanks for the help...</p>
<p dir="auto">Greetings<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/33555</link><guid isPermaLink="true">https://forum.netxms.org/post/33555</guid><dc:creator><![CDATA[Spheron]]></dc:creator><pubDate>Mon, 10 Jun 2024 06:45:47 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS Agent on NetXMS Server not working after Database Migration on Fri, 07 Jun 2024 15:34:17 GMT]]></title><description><![CDATA[<p dir="auto">Node for the management server should get automatically created when server is started. This node would have special attribute set, you can check it by running NXSL script:</p>
<p dir="auto">println($node.isLocalManagement);</p>
<p dir="auto">Based on the presence attribute out of the box templates would be applied.</p>
<p dir="auto">The templates can be found here: <a href="https://github.com/netxms/netxms/tree/master/contrib/templates" rel="nofollow ugc">https://github.com/netxms/netxms/tree/master/contrib/templates</a><br />
Specifically these two files:</p>
<p dir="auto">netxms_agent.xml<br />
netxms_server.xml</p>
]]></description><link>https://forum.netxms.org/post/33553</link><guid isPermaLink="true">https://forum.netxms.org/post/33553</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 07 Jun 2024 15:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS Agent on NetXMS Server not working after Database Migration on Fri, 07 Jun 2024 08:10:58 GMT]]></title><description><![CDATA[<p dir="auto">Meanwhile i've managed to get the agent on the NetXMS server working again.</p>
<p dir="auto">In the nxagent.conf i changed:</p>
<pre><code>MasterServers=127.0.0.0/8
</code></pre>
<p dir="auto">in </p>
<pre><code>MasterServers=&lt;IP_Adress_from_NetXMS_Server&gt;
</code></pre>
<p dir="auto">I deleted the agent object/node in server and recreate it. After that i can get a connect to agent and i can make a configuration poll... <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">It would be nice if i can recreate the basic DCI from the NetXMS server agent... Can anyonye send me an export of the standard DCI's so i can import this into my installation?</p>
<p dir="auto">Greetings<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/33550</link><guid isPermaLink="true">https://forum.netxms.org/post/33550</guid><dc:creator><![CDATA[Spheron]]></dc:creator><pubDate>Fri, 07 Jun 2024 08:10:58 GMT</pubDate></item></channel></rss>