<?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[Change or regenerate agent ID]]></title><description><![CDATA[<p dir="auto">Unfortunately we are looking after older xp/7 windows systems, due to being ATM machines.<br />
We have some images of hard drives, which we are using to upgrade to ssd drives, but this is causing duplicate agent id.<br />
How can we generate a new agent id ?</p>
<p dir="auto">Thanks<br />
Chris</p>
]]></description><link>https://forum.netxms.org/topic/6986/change-or-regenerate-agent-id</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 17:36:14 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6986.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Mar 2021 05:41:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change or regenerate agent ID on Fri, 19 Mar 2021 04:58:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks again Alex.</p>
<p dir="auto">Unfortunately I seem to be only able to run version 3.0.2258, as I haven't had the chance to test later net files etc.</p>
<p dir="auto">Hopefully all of this information will help other users.</p>
<p dir="auto">Regards<br />
Chris</p>
]]></description><link>https://forum.netxms.org/post/29733</link><guid isPermaLink="true">https://forum.netxms.org/post/29733</guid><dc:creator><![CDATA[wanetwa]]></dc:creator><pubDate>Fri, 19 Mar 2021 04:58:50 GMT</pubDate></item><item><title><![CDATA[Reply to Change or regenerate agent ID on Thu, 18 Mar 2021 12:46:32 GMT]]></title><description><![CDATA[<p dir="auto">I just realized that there is a simpler way to do that - run agent with "-T" argument:</p>
<pre><code>(nx-stable) ➜  netxms-stable git:(stable-3.8) nxagentd -h
Usage: nxagentd [options]
Where valid options are:
   …
   -T         : Reset agent identity
   …
</code></pre>
<p dir="auto">Agent will exit after reseting ID, so you can do this as Action (define in nxagentd.conf):</p>
<pre><code>Action=Agent.ResetID=C:\NetXMS\bin\nxagentd -T
</code></pre>
<p dir="auto">Then execute Agent.ResetID either using object tools, or with "nxaction" command (e.g. "nxaction -o IP Agent.ResetID").<br />
Once ID reset - restart agent (also, you can do this either with object tools, or by using "nxaction IP Agent.Restart")</p>
]]></description><link>https://forum.netxms.org/post/29732</link><guid isPermaLink="true">https://forum.netxms.org/post/29732</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Thu, 18 Mar 2021 12:46:32 GMT</pubDate></item><item><title><![CDATA[Reply to Change or regenerate agent ID on Thu, 18 Mar 2021 03:37:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex<br />
Sorry for the delay in responding, have been away in remote areas doing service calls etc.<br />
That helped me fix the issue.<br />
For anyone else having the same issue, I would recommend delete the databse file from your master image, then new id will be created with the new database.<br />
In my case where we had already deployed and the units were remote and I couldn't delete the database file, as it was in use by the agent I resolved as follows.</p>
<ol>
<li>edit the agent file and add<br />
DataDirectory = c:\netxms\lib<br />
under the ConfigIncludeDir section.</li>
<li>MAKE SURE you save the agent file.</li>
<li>Restart the agent and adopt with the new agent id.</li>
</ol>
<p dir="auto">Hope this helps anyone else in the same situation.</p>
<p dir="auto">I am currently creating my own solution with netxms, as I hadn't realised you already had an ATM solution.<br />
Our machines don't appear to be supported.</p>
<p dir="auto">I will PM after speaking to our management to discuss further.</p>
<p dir="auto">Thanks again for your help.</p>
]]></description><link>https://forum.netxms.org/post/29731</link><guid isPermaLink="true">https://forum.netxms.org/post/29731</guid><dc:creator><![CDATA[wanetwa]]></dc:creator><pubDate>Thu, 18 Mar 2021 03:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Change or regenerate agent ID on Fri, 12 Mar 2021 08:53:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">Remove file "nxagentd.db" from data directory. Data directory location is logged on startup, something like this:</p>
<pre><code>2020.12.14 12:34:48.558 *I* [                   ] Data directory: /opt/netxms/stable/var/lib/netxms
</code></pre>
<p dir="auto">Out of curiosity: are you using our ATM monitoring solution, or made your own based on the NetXMS?</p>
]]></description><link>https://forum.netxms.org/post/29703</link><guid isPermaLink="true">https://forum.netxms.org/post/29703</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 12 Mar 2021 08:53:34 GMT</pubDate></item></channel></rss>