<?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[2 agents on the same node]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">is it possible to have 2 agents on AIX server sharing the same IP ?<br />
I tried to create 2 Node on netxms server for the same IP but it didn't allow it saying its locked.<br />
I need to monitor AIX for 2 users each one has specific privileges and don't share the same permissions.<br />
If I cannot create 2 nodes from Netxms Server side, how can I collect data from both agents ?</p>
<p dir="auto">P.S: the agents are on AIX and the netxms server is on Windows.</p>
<p dir="auto">Regards,<br />
Imad.</p>
]]></description><link>https://forum.netxms.org/topic/3383/2-agents-on-the-same-node</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:35:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3383.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Sep 2014 19:08:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2 agents on the same node on Sun, 26 Oct 2014 11:10:47 GMT]]></title><description><![CDATA[<p dir="auto">I did a quick test with your configuration files (except loading IST module) – they are working fine with latest release (1.2.17). I don't have 1.1.1 installed anywhere to check it. I highly recommend you to upgrade.</p>
]]></description><link>https://forum.netxms.org/post/15125</link><guid isPermaLink="true">https://forum.netxms.org/post/15125</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Sun, 26 Oct 2014 11:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to 2 agents on the same node on Sun, 26 Oct 2014 09:08:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">i event change<br />
### External Sub Agent<br />
ExternalSubagent=APP1<br />
ExternalSubagent=APP2</p>
<p dir="auto">to the name of the application<br />
<a href="http://ExternalSubagent=istsubagent.so" rel="nofollow ugc">ExternalSubagent=istsubagent.so</a><br />
ExternalSubagent=istsubagent_1.so</p>
<p dir="auto">and still it didnt work... is there anything i miss ??</p>
]]></description><link>https://forum.netxms.org/post/15124</link><guid isPermaLink="true">https://forum.netxms.org/post/15124</guid><dc:creator><![CDATA[Imad]]></dc:creator><pubDate>Sun, 26 Oct 2014 09:08:43 GMT</pubDate></item><item><title><![CDATA[Reply to 2 agents on the same node on Thu, 23 Oct 2014 08:45:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">i created as mentioned nxagentd.master.conf</p>
<blockquote>
<p dir="auto">masterServers = 10.130.71.31,10.130.71.32<br />
DebugLevel=7<br />
LogFile = /apps/ist76AA/netxms-bin/log/Master_agent.log<br />
FileStore = /tmp</p>
<p dir="auto">### External Sub Agent<br />
ExternalSubagent=APP1<br />
ExternalSubagent=APP2</p>
</blockquote>
<p dir="auto">and nxagentd.app1.conf</p>
<blockquote>
<p dir="auto">ExternalMasterAgent=APP1<br />
DebugLevel=7<br />
LogFile = /apps/ist76AA/netxms-bin/log/agent.log<br />
FileStore = /tmp</p>
<p dir="auto">## Subagent IST<br />
Subagent = /apps/ist76AA/netxms-1.1.1/subagent/istsubagent.so</p>
</blockquote>
<p dir="auto">and nxagentd.app2.conf</p>
<blockquote>
<p dir="auto">ExternalMasterAgent=APP2<br />
DebugLevel=7<br />
LogFile = /apps/ist76LB/netxms-bin/log/agent.log<br />
FileStore = /tmp</p>
<p dir="auto">## Subagent L7<br />
Subagent = /apps/ist76LB/netxms-1.1.1/subagent/istsubagent_1.so</p>
</blockquote>
<p dir="auto">and i run them as follow:</p>
<blockquote>
<p dir="auto">PREPRODIST02_ist76AA:/apps/ist76AA/netxms-bin/bin&gt; nxagentd -c /apps/ist76AA/netxms-bin/etc/nxagentd.master.conf -d<br />
PREPRODIST02_ist76AA:/apps/ist76AA/netxms-bin/bin&gt;  nxagentd -c /apps/ist76AA/netxms-bin/etc/nxagentd.app1.conf -d<br />
PREPRODIST02_ist76LB:/apps/ist76LB/netxms-bin/bin&gt;  nxagentd -c /apps/ist76LB/netxms-bin/etc/nxagentd.app2.conf -d</p>
</blockquote>
<p dir="auto">however the logs shows that whenever any agent.app1 or app2 try to run the port is already in use:</p>
<blockquote>
<p dir="auto"> Unable to bind socket: Address already in use</p>
</blockquote>
<p dir="auto">attached are the debugs.</p>
<p dir="auto">should i run each agent on different port ?</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002027-Master_agent.log">Master_agent.log</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002028-agent1.TXT">agent1.TXT</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002029-agent2.TXT">agent2.TXT</a></p>
]]></description><link>https://forum.netxms.org/post/15114</link><guid isPermaLink="true">https://forum.netxms.org/post/15114</guid><dc:creator><![CDATA[Imad]]></dc:creator><pubDate>Thu, 23 Oct 2014 08:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to 2 agents on the same node on Wed, 01 Oct 2014 19:30:46 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Alex for the quick reply,<br />
I have the following questions:</p>
<p dir="auto">1-does this require a specific AIX agent version?<br />
2-nxagentd.master.conf should be configured on both users? or on 1 user?<br />
3- when starting the them all... should each agent be running from its user? because when I tried [su user1 -c "nxagentd -c nxagentd.app1.conf -d"] it requested the user1 password.</p>
]]></description><link>https://forum.netxms.org/post/14965</link><guid isPermaLink="true">https://forum.netxms.org/post/14965</guid><dc:creator><![CDATA[Imad]]></dc:creator><pubDate>Wed, 01 Oct 2014 19:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to 2 agents on the same node on Tue, 30 Sep 2014 19:58:16 GMT]]></title><description><![CDATA[<p dir="auto">You can use "External subagent" feature - basically it allows you to run multiple instances of the agent (with separate configuration files) on the same server and multiplex all communications thru "master" agent.</p>
<p dir="auto">Example: you have "master" agent, which run as root and responsible for communications and system-wide data and actions (e.g. remote reboot). Also you have agent for "app1", which should be run as "user1" and agent for "app2", which should be run as "user2".</p>
<p dir="auto">To configure that, crate configurations files like this:</p>
<p dir="auto">nxagentd.master.conf:</p>
<pre><code>MasterServers = ...
LogFile = ...

ExternalSubagent=APP1
ExternalSubagent=APP2
</code></pre>
<p dir="auto">nxagentd.app1.conf:</p>
<pre><code>LogFile = ...
ExternalMasterAgent=APP1

# any additional configuration, subagents, etc.
</code></pre>
<p dir="auto">nxagentd.app2.conf:</p>
<pre><code>LogFile = ...
ExternalMasterAgent=APP2

# any additional configuration, subagents, etc.
</code></pre>
<p dir="auto">Then start them all:</p>
<pre><code># nxagentd -c nxagentd.master.conf -d
# su user1 -c "nxagentd -c nxagentd.app1.conf -d"
# su user2 -c "nxagentd -c nxagentd.app2.conf -d"
</code></pre>
<p dir="auto">How it works:</p>
<p dir="auto">Master agent create communication pipe for each ExternalSubagent entry, "external subagents" connect to this pipe. When request from the network is processed by "master" agent, it proxy requests thru these pipes and send reply back.</p>
]]></description><link>https://forum.netxms.org/post/14962</link><guid isPermaLink="true">https://forum.netxms.org/post/14962</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 30 Sep 2014 19:58:16 GMT</pubDate></item></channel></rss>