<?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[ISP Connectivity Monitoring with ICMP]]></title><description><![CDATA[<p dir="auto">I have wondered if there is a better way to monitor ISP connectivity using ICMP - latency, packet loss and RTT. The challenge is that when ICMP request is sent from netxms server to ISP, the result is usually affected by underlying LAN network and doesn't give true picture to measure from the Edge Router (Source) to ISP end (destination). Is there a way to achieve this using Netxms where the router becomes the source to send ICMP echo request.</p>
]]></description><link>https://forum.netxms.org/topic/8175/isp-connectivity-monitoring-with-icmp</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:25:21 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8175.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 May 2025 00:31:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Tue, 22 Jul 2025 14:14:35 GMT]]></title><description><![CDATA[<p dir="auto">You can just do "Execute script" on your node and try the following script from there:</p>
<pre><code>r = $node.executeSSHCommand("ping 8.8.8.8 repeat 3 timeout 1");
println(typeof(r));
println(r);
</code></pre>
<p dir="auto">It will print the result of executeSSHCommand() function.</p>
<p dir="auto">One probable issue is that ssh communication goes through the agent that runs along with the server. So this agent should have<br />
SubAgent = ssh<br />
in it's configuration file (make sure you restart the agent after making the changes).</p>
<p dir="auto">To debug you can add<br />
DebugLevel = 6<br />
to agent configuration file - agent log should give some information the moment when you execute your script.</p>
]]></description><link>https://forum.netxms.org/post/34628</link><guid isPermaLink="true">https://forum.netxms.org/post/34628</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 22 Jul 2025 14:14:35 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Sun, 15 Jun 2025 20:54:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Filipp Sudanov</p>
<p dir="auto">I have tried this and am really stuck. Picture A is the script in the script library, Picture B is the script in the source router DCI. However the value has remained -1 regardless in picture C. Picture D shows I can reach the ip 10.10.10.2 from the source router and this is the ip in the script destination. IS there anything am missing?</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006924-A.PNG" alt="A.PNG" class="img-markdown  img-fluid" width="687" height="177" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006926-B.PNG" alt="B.PNG" class="img-markdown  img-fluid" width="1089" height="813" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006928-C.PNG" alt="C.PNG" class="img-markdown  img-fluid" width="1625" height="881" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006930-D.PNG" alt="D.PNG" class="img-markdown  img-fluid" width="865" height="259" /></p>
]]></description><link>https://forum.netxms.org/post/34528</link><guid isPermaLink="true">https://forum.netxms.org/post/34528</guid><dc:creator><![CDATA[chidex]]></dc:creator><pubDate>Sun, 15 Jun 2025 20:54:50 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Thu, 22 May 2025 07:09:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/filipp-sudanov" aria-label="Profile: filipp-sudanov">@<bdi>filipp-sudanov</bdi></a> said in <a href="/post/34469">ISP Connectivity Monitoring with ICMP</a>:</p>
<blockquote>
<p dir="auto">It's probably taking the first line of the output that was obtained via ssh. In this case it's !!!!!, which might be interpreted as 0 if the DCI is Integer.<br />
If you check history for this DCI, raw value column might have some clue.</p>
<p dir="auto">if your router supports i command which allows to filter the output, you can do something like this:</p>
<pre><code>ping 8.8.8.8 repeat 3 timeout 1 | i Success
</code></pre>
<p dir="auto">This would limit the output just to one line, which then can be parsed using transformation script. Note that I limited number of requests and timeout as by default there's 4 second limitation between netxms server and agent - result should be returned within that time.</p>
<p dir="auto">If above is not possible, the other approach is to call ssh command from NXSL script. In this case all lines of output are received (as array) and we can parse this array to extract data:</p>
<pre><code>r = $node.executeSSHCommand("ping 8.8.8.8 repeat 3 timeout 1");
avg = -1;
for (s : r) {
  m = s match "Success rate is .* round-trip min/avg/max = .*/(.*)/.*";
  if (m) avg = m[1];
}
return avg;
</code></pre>
<p dir="auto">You can either put this script into script library and use it in Script DCI; or you can make Internal DCI with metric Dummy and put this into transformation script.</p>
</blockquote>
<p dir="auto">Thank you soo much Filipi, Am going to test this and come back. I know am quite new to NetXMS and learning. I will try this out..Thank you</p>
]]></description><link>https://forum.netxms.org/post/34474</link><guid isPermaLink="true">https://forum.netxms.org/post/34474</guid><dc:creator><![CDATA[chidex]]></dc:creator><pubDate>Thu, 22 May 2025 07:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Tue, 20 May 2025 15:26:00 GMT]]></title><description><![CDATA[<p dir="auto">It's probably taking the first line of the output that was obtained via ssh. In this case it's !!!!!, which might be interpreted as 0 if the DCI is Integer.<br />
If you check history for this DCI, raw value column might have some clue.</p>
<p dir="auto">if your router supports i command which allows to filter the output, you can do something like this:</p>
<pre><code>ping 8.8.8.8 repeat 3 timeout 1 | i Success
</code></pre>
<p dir="auto">This would limit the output just to one line, which then can be parsed using transformation script. Note that I limited number of requests and timeout as by default there's 4 second limitation between netxms server and agent - result should be returned within that time.</p>
<p dir="auto">If above is not possible, the other approach is to call ssh command from NXSL script. In this case all lines of output are received (as array) and we can parse this array to extract data:</p>
<pre><code>r = $node.executeSSHCommand("ping 8.8.8.8 repeat 3 timeout 1");
avg = -1;
for (s : r) {
  m = s match "Success rate is .* round-trip min/avg/max = .*/(.*)/.*";
  if (m) avg = m[1];
}
return avg;
</code></pre>
<p dir="auto">You can either put this script into script library and use it in Script DCI; or you can make Internal DCI with metric Dummy and put this into transformation script.</p>
]]></description><link>https://forum.netxms.org/post/34469</link><guid isPermaLink="true">https://forum.netxms.org/post/34469</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 20 May 2025 15:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Sun, 18 May 2025 18:56:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I tried testing with SSH and also debugging netxms agent at the same. I see the following debug output(ping) but the DCI just keep showing zero(ping2). When I ping the same remote endpoint from the source router(ping3) the response time is much higher. Not sure what the problem is. Or am I  not outputting the result properly ?</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006908-ping.PNG" alt="ping.PNG" class="img-markdown  img-fluid" width="1458" height="275" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006910-ping2.PNG" alt="ping2.PNG" class="img-markdown  img-fluid" width="1402" height="883" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006912-ping3.PNG" alt="ping3.PNG" class="img-markdown  img-fluid" width="1018" height="337" /></p>
]]></description><link>https://forum.netxms.org/post/34453</link><guid isPermaLink="true">https://forum.netxms.org/post/34453</guid><dc:creator><![CDATA[chidex]]></dc:creator><pubDate>Sun, 18 May 2025 18:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Sat, 17 May 2025 13:46:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/filipp-sudanov" aria-label="Profile: filipp-sudanov">@<bdi>filipp-sudanov</bdi></a> said in <a href="/post/34448">ISP Connectivity Monitoring with ICMP</a>:</p>
<blockquote>
<p dir="auto">NetXMS can connect via ssh, send some command and get first line of output of that command as DCI value. See more here: <a href="https://netxms.org/documentation/adminguide/ssh-monitoring.html" rel="nofollow ugc">https://netxms.org/documentation/adminguide/ssh-monitoring.html</a><br />
For SNMP you just need to create a new DCI with origin SNMP and put OID into the Metric field.<br />
However, I can not tell if your specific device can perform pinging and report value via mentioned methods. Ssh is probably more promising, as typically ping command is present on devices.</p>
</blockquote>
<p dir="auto">Thank you for providing <a href="http://feedback.Am" rel="nofollow ugc">feedback.Am</a> using Its HPE router and Cisco router . I will try the ssh versions as it appears to be more like what can be done easily. Do you also mean there is SNMP OID to use to extract ICMP data on remote device by this statement - <em>"For SNMP you just need to create a new DCI with origin SNMP and put OID into the Metric field."</em>.?</p>
]]></description><link>https://forum.netxms.org/post/34452</link><guid isPermaLink="true">https://forum.netxms.org/post/34452</guid><dc:creator><![CDATA[chidex]]></dc:creator><pubDate>Sat, 17 May 2025 13:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Fri, 16 May 2025 14:05:04 GMT]]></title><description><![CDATA[<p dir="auto">NetXMS can connect via ssh, send some command and get first line of output of that command as DCI value. See more here: <a href="https://netxms.org/documentation/adminguide/ssh-monitoring.html" rel="nofollow ugc">https://netxms.org/documentation/adminguide/ssh-monitoring.html</a></p>
<p dir="auto">For SNMP you just need to create a new DCI with origin SNMP and put OID into the Metric field.</p>
<p dir="auto">However, I can not tell if your specific device can perform pinging and report value via mentioned methods. Ssh is probably more promising, as typically ping command is present on devices.</p>
]]></description><link>https://forum.netxms.org/post/34448</link><guid isPermaLink="true">https://forum.netxms.org/post/34448</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 16 May 2025 14:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Fri, 16 May 2025 09:57:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/filipp-sudanov" aria-label="Profile: filipp-sudanov">@<bdi>filipp-sudanov</bdi></a> said in <a href="/post/34443">ISP Connectivity Monitoring with ICMP</a>:</p>
<blockquote>
<p dir="auto">Depending on what that router supports. If you could install NetXMS agent there, that would be the best way - e.g. this can be done with some newer Mikrotiks that support containers. If not, then you can collect data via snmp or ssh. Or you can put some machine with netxms agent in the proximity of this router.</p>
</blockquote>
<p dir="auto">Thank you Filipp, nothing can be installed on the router. You mentioned this can be achieved using ssh and SNMP. Do you mind throwing more light.</p>
]]></description><link>https://forum.netxms.org/post/34446</link><guid isPermaLink="true">https://forum.netxms.org/post/34446</guid><dc:creator><![CDATA[chidex]]></dc:creator><pubDate>Fri, 16 May 2025 09:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to ISP Connectivity Monitoring with ICMP on Fri, 16 May 2025 06:23:18 GMT]]></title><description><![CDATA[<p dir="auto">Depending on what that router supports. If you could install NetXMS agent there, that would be the best way - e.g. this can be done with some newer Mikrotiks that support containers. If not, then you can collect data via snmp or ssh. Or you can put some machine with netxms agent in the proximity of this router.</p>
]]></description><link>https://forum.netxms.org/post/34443</link><guid isPermaLink="true">https://forum.netxms.org/post/34443</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 16 May 2025 06:23:18 GMT</pubDate></item></channel></rss>