<?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[Port check on node add]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">Question for you all:  If I want to scan for the availability of a port on a node when I add it (for an auto apply template), what would that look like?</p>
]]></description><link>https://forum.netxms.org/topic/4475/port-check-on-node-add</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:13:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4475.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 May 2016 17:22:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Port check on node add on Mon, 27 Jan 2020 13:28:39 GMT]]></title><description><![CDATA[<p dir="auto">Please help me ? how to check my sever port using nodes  I was connect all client to central sever I am using on window sever   .</p>
]]></description><link>https://forum.netxms.org/post/27304</link><guid isPermaLink="true">https://forum.netxms.org/post/27304</guid><dc:creator><![CDATA[tilahun]]></dc:creator><pubDate>Mon, 27 Jan 2020 13:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to Port check on node add on Fri, 27 May 2016 14:04:22 GMT]]></title><description><![CDATA[<p dir="auto">thanks, very helpful</p>
]]></description><link>https://forum.netxms.org/post/19962</link><guid isPermaLink="true">https://forum.netxms.org/post/19962</guid><dc:creator><![CDATA[MatthewDreher]]></dc:creator><pubDate>Fri, 27 May 2016 14:04:22 GMT</pubDate></item><item><title><![CDATA[Reply to Port check on node add on Tue, 24 May 2016 14:53:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can use portcheck subagent on management server. In the script you can use FindObject function to find management server node, then use AgentReadParameter to check status of a port using ServiceCheck.Custom parameter. For example:</p>
<pre><code>mgmt = FindObject("netxms");
status = AgentReadParameter(mgmt, "ServiceCheck.Custom(" . $node-&gt;ipAddr . ",23)");
if (status == 0)
{
    // Port 23 open, do something
}
</code></pre>
<p dir="auto">this script will check if port 23 is open on current node.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/19940</link><guid isPermaLink="true">https://forum.netxms.org/post/19940</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 24 May 2016 14:53:50 GMT</pubDate></item></channel></rss>