<?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[Agent Configuration depending on node name?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have different agent configurations for different server types. Depnding on their type also the naming of the servers is different, like db01 for DB server and vd01 for virtual desktops. Only the number change</p>
<p dir="auto">Is it possibe to e.g. check if the node name starts with "db" in the agent configuration filter?<br />
Maybe like:</p>
<p dir="auto">return $<a href="http://node.Name" rel="nofollow ugc">node.Name</a> like 'db*';</p>
<p dir="auto">Or is it limited to the $1 - $5 parameters?</p>
<p dir="auto">Best regards</p>
<p dir="auto">Stefan</p>
]]></description><link>https://forum.netxms.org/topic/8170/agent-configuration-depending-on-node-name</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:24:24 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8170.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 May 2025 10:23:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent Configuration depending on node name? on Wed, 07 May 2025 11:25:26 GMT]]></title><description><![CDATA[<p dir="auto">Works! Thank You!</p>
]]></description><link>https://forum.netxms.org/post/34414</link><guid isPermaLink="true">https://forum.netxms.org/post/34414</guid><dc:creator><![CDATA[stoffmann]]></dc:creator><pubDate>Wed, 07 May 2025 11:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration depending on node name? on Wed, 07 May 2025 10:45:10 GMT]]></title><description><![CDATA[<p dir="auto">Agent configuration filter does not provide access to node object - because it is just a request from certain IP and not necessarily matches already known node (although probably it will be good idea to implement such lookup). However, you can implement such lookup yourself, for example (I assume version 5.x):</p>
<pre><code>node = FindNodeByIPAddress($1);
return node?.name?.startsWith('db');
</code></pre>
<p dir="auto">This script will return true if requested IP address corresponds to existing node and name of that node starts with "db".</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/34412</link><guid isPermaLink="true">https://forum.netxms.org/post/34412</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 07 May 2025 10:45:10 GMT</pubDate></item></channel></rss>