<?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[Using variables in parameters]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">So I'm trying to get a CheckSSH function working (in a template).  I am trying to check (through a proxy) that the SSH port is open.</p>
<p dir="auto">Is there any way to get the ipAddress for the current node in the parameters function of the DCI configuration page.</p>
<p dir="auto">I've tried</p>
<p dir="auto">ServiceCheck.SSH($node-&gt;ipAddr)<br />
ServiceCheck.SSH(%{node_primary_ip})<br />
ServiceCheck.SSH($1-&gt;ipAddr)</p>
<p dir="auto">But no luck, is there a way? It is highly possible I just can't find the docs that show how to do it.</p>
<p dir="auto">Thanks!<br />
mitch</p>
]]></description><link>https://forum.netxms.org/topic/2550/using-variables-in-parameters</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:15:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2550.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Aug 2013 13:58:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using variables in parameters on Fri, 16 Aug 2013 14:10:54 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I take it back! I must of made a typo or something  :-[ My bad!</p>
<p dir="auto">Thanks!<br />
mitch</p>
]]></description><link>https://forum.netxms.org/post/11068</link><guid isPermaLink="true">https://forum.netxms.org/post/11068</guid><dc:creator><![CDATA[mitchellj]]></dc:creator><pubDate>Fri, 16 Aug 2013 14:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Using variables in parameters on Fri, 16 Aug 2013 14:02:53 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<pre><code>ServiceCheck.SSH(%{node_primary_ip})
</code></pre>
<p dir="auto">should be just fine.<br />
What kind of error you encounter?</p>
]]></description><link>https://forum.netxms.org/post/11067</link><guid isPermaLink="true">https://forum.netxms.org/post/11067</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 16 Aug 2013 14:02:53 GMT</pubDate></item></channel></rss>