<?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[Cannot connect agent]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have the following situation - I installed NetXMS agent on server which is located in remote site without proxy enabled. There is another NetXMS agent who is working like a proxy. So, from console I when i poll proxy everything is like it should be (agent found), but when i poll the new agent I get:</p>
<blockquote>
<p dir="auto">[04.11.2013 14:05:45] **** Poll request sent to server ****<br />
[04.11.2013 14:05:45] Poll request accepted<br />
[04.11.2013 14:05:45] Starting configuration poll for node 192.168.0.5<br />
[04.11.2013 14:05:45] Checking node's capabilities...<br />
[04.11.2013 14:05:45]    Checking NetXMS agent...<br />
[04.11.2013 14:05:46]    Checking SNMP...<br />
[04.11.2013 14:07:46] POLL ERROR: Request timed out[04.11.2013 14:07:46] **** Poll failed ****</p>
<p dir="auto">[04.11.2013 14:24:41] **** Poll request sent to server ****<br />
[04.11.2013 14:24:41] Poll request accepted<br />
[04.11.2013 14:24:41] Starting configuration poll for node 192.168.0.5<br />
[04.11.2013 14:24:41] Checking node's capabilities...<br />
[04.11.2013 14:24:41]    Checking NetXMS agent...<br />
[04.11.2013 14:24:50] Capability check finished<br />
[04.11.2013 14:24:50] Checking interface configuration...<br />
[04.11.2013 14:24:50] Unable to get interface list from node<br />
[04.11.2013 14:24:50]    Interface "unknown" is no longer exist<br />
[04.11.2013 14:24:50] Interface configuration check finished<br />
[04.11.2013 14:24:50] Checking node name<br />
[04.11.2013 14:24:50] Syncing node name with DNS<br />
[04.11.2013 14:24:59] Finished configuration poll for node ServerFTP<br />
[04.11.2013 14:24:59] Node configuration was not changed after poll<br />
[04.11.2013 14:24:59] **** Poll completed successfully ****</p>
</blockquote>
<p dir="auto">The device does respond to icmp pings and agent is running.</p>
<p dir="auto">There is even some communication between the proxy and the agent:</p>
<blockquote>
<p dir="auto">root@metrumftp:~# tcpdump -i any port 4700<br />
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br />
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes<br />
14:16:44.697975 IP 192.168.0.5.55781 &gt; 192.168.0.4.4700: S 1847646415:1847646415(0) win 14600 &lt;mss 1460,sackOK,timestamp 369447284 0,nop,wscale 6&gt;<br />
14:16:44.698003 IP 192.168.0.4.4700 &gt; 192.168.0.5.55781: S 1883842181:1883842181(0) ack 1847646416 win 5792 &lt;mss 1460,sackOK,timestamp 1363491413 369447284,nop,wscale 6&gt;<br />
14:16:44.698111 IP 192.168.0.5.55781 &gt; 192.168.0.4.4700: . ack 1 win 229 &lt;nop,nop,timestamp 369447284 1363491413&gt;<br />
14:16:44.698309 IP 192.168.0.4.4700 &gt; 192.168.0.5.55781: F 1:1(0) ack 1 win 91 &lt;nop,nop,timestamp 1363491413 369447284&gt;<br />
14:16:44.698438 IP 192.168.0.5.55781 &gt; 192.168.0.4.4700: . ack 2 win 229 &lt;nop,nop,timestamp 369447284 1363491413&gt;<br />
14:16:44.798277 IP 192.168.0.5.55781 &gt; 192.168.0.4.4700: F 1:1(0) ack 2 win 229 &lt;nop,nop,timestamp 369447309 1363491413&gt;<br />
14:16:44.798289 IP 192.168.0.4.4700 &gt; 192.168.0.5.55781: . ack 2 win 91 &lt;nop,nop,timestamp 1363491423 369447309&gt;<br />
14:16:58.582404 IP 192.168.0.5.55782 &gt; 192.168.0.4.4700: S 2718119023:2718119023(0) win 14600 &lt;mss 1460,sackOK,timestamp 369450754 0,nop,wscale 6&gt;<br />
14:16:58.582433 IP 192.168.0.4.4700 &gt; 192.168.0.5.55782: S 2098537924:2098537924(0) ack 2718119024 win 5792 &lt;mss 1460,sackOK,timestamp 1363492802 369450754,nop,wscale 6&gt;<br />
14:16:58.582544 IP 192.168.0.5.55782 &gt; 192.168.0.4.4700: . ack 1 win 229 &lt;nop,nop,timestamp 369450754 1363492802&gt;<br />
14:16:58.582698 IP 192.168.0.4.4700 &gt; 192.168.0.5.55782: F 1:1(0) ack 1 win 91 &lt;nop,nop,timestamp 1363492802 369450754&gt;<br />
14:16:58.582809 IP 192.168.0.5.55782 &gt; 192.168.0.4.4700: . ack 2 win 229 &lt;nop,nop,timestamp 369450754 1363492802&gt;<br />
14:16:58.682761 IP 192.168.0.5.55782 &gt; 192.168.0.4.4700: F 1:1(0) ack 2 win 229 &lt;nop,nop,timestamp 369450779 1363492802&gt;</p>
</blockquote>
<p dir="auto">Server debug shows, that Communication with agent 192.168.0.4 failed (Connection broken).</p>
<p dir="auto">I'm stuck here and can't find the solution to this. If i need to provide more information, just tell.<br />
Any help would be appreciated.</p>
<p dir="auto">Thanks in advance,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/topic/2703/cannot-connect-agent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:00:55 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2703.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Nov 2013 13:08:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot connect agent on Mon, 04 Nov 2013 17:59:58 GMT]]></title><description><![CDATA[<p dir="auto">Such a stupid mistake, thank you for guiding me in right direction <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">Nikk</p>
]]></description><link>https://forum.netxms.org/post/11700</link><guid isPermaLink="true">https://forum.netxms.org/post/11700</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Mon, 04 Nov 2013 17:59:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect agent on Mon, 04 Nov 2013 15:50:32 GMT]]></title><description><![CDATA[<p dir="auto">You should use IP address of proxy agent in MasterServers parameter on destination agent, because destnation agent will receive connection from proxy agent's IP address.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11699</link><guid isPermaLink="true">https://forum.netxms.org/post/11699</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 04 Nov 2013 15:50:32 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect agent on Mon, 04 Nov 2013 14:54:10 GMT]]></title><description><![CDATA[<p dir="auto">Here is the proxy config:</p>
<blockquote>
<p dir="auto">#<br />
# Sample configuration file for NetXMS agent</p>
<p dir="auto">EnableWatchdog = yes</p>
<p dir="auto">MasterServers = Our_external_address<br />
LogFile = {syslog}<br />
LogFile = /var/log/nxagentd.log<br />
EnableProxy = yes<br />
EnableSNMPProxy = yes</p>
<p dir="auto">SubAgent = /usr/local/lib/netxms/portcheck.nsm<br />
SubAgent = /usr/local/lib/netxms/ping.nsm<br />
SubAgent = /usr/local/lib/netxms/linux.nsm<br />
SubAgent = /usr/local/lib/netxms/logwatch.nsm</p>
</blockquote>
<p dir="auto">And the agents config:</p>
<blockquote>
<p dir="auto">MasterServers = Our_external_address<br />
LogFile = {syslog}<br />
LogFile = /var/log/nxagentd.log<br />
CreateCrashDumps = yes<br />
DumpDirectory = /var/log/nxagentdump</p>
<p dir="auto">SubAgent = /usr/local/lib/netxms/portcheck.nsm<br />
SubAgent = /usr/local/lib/netxms/ping.nsm<br />
SubAgent = /usr/local/lib/netxms/linux.nsm<br />
SubAgent = /usr/local/lib/netxms/ecs.nsm<br />
SubAgent = /usr/local/lib/netxms/logwatch.nsm<br />
SubAgent = /usr/local/lib/netxms/sms.nsm</p>
<p dir="auto">EnableWatchdog = yes</p>
</blockquote>
<p dir="auto">Thanks in advance,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/post/11698</link><guid isPermaLink="true">https://forum.netxms.org/post/11698</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Mon, 04 Nov 2013 14:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect agent on Mon, 04 Nov 2013 14:15:24 GMT]]></title><description><![CDATA[<p dir="auto">Can you show me configs for both agents?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11697</link><guid isPermaLink="true">https://forum.netxms.org/post/11697</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 04 Nov 2013 14:15:24 GMT</pubDate></item></channel></rss>