<?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]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">i have two netxms servers:</p>
<ol>
<li>v1.1.5 on centos 6 linux</li>
<li>v1.1.6 on win2k3 server</li>
</ol>
<p dir="auto">on both servers i have created the same agent configuration.<br />
i have two servers with different agents versions v1.1.5 and v1.1.6</p>
<p dir="auto">no matter where i point the agent to get the configuration from and no matter which agent is trying to pull the config i get the same error:<br />
Script (AgentCfg::1) execution error: syntax error, unexpected '/'</p>
<p dir="auto">and there are no extra '/' in the config</p>
<p dir="auto">any idea ?<br />
10x<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/topic/1433/agent-configuration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:36:40 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1433.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Nov 2011 13:14:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 15:45:59 GMT]]></title><description><![CDATA[<p dir="auto">thank you victor,</p>
<p dir="auto">as for now i have configured the script to filter both netxms server but it is good to know this solution.</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/6265</link><guid isPermaLink="true">https://forum.netxms.org/post/6265</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 09 Nov 2011 15:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 15:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Filtering script always should have a body. If you don't need filtering, just use</p>
<pre><code>return true;
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6264</link><guid isPermaLink="true">https://forum.netxms.org/post/6264</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 09 Nov 2011 15:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 14:16:30 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i have configured the agent configuration filter to use the $2 var and everything worked fine.<br />
does that mean that i will always have to configure filtering ? it wasn't a requirement before.</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/6263</link><guid isPermaLink="true">https://forum.netxms.org/post/6263</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 09 Nov 2011 14:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 13:47:04 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i have deleted everything in the filtering section and now i get unexpected $end</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/6262</link><guid isPermaLink="true">https://forum.netxms.org/post/6262</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 09 Nov 2011 13:47:04 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 13:45:28 GMT]]></title><description><![CDATA[<p dir="auto">It is ok to have comments this way in the script. The problem is probably due to either bug in NXSL interpreter, or some typo (or maybe non-printable character) in filtering script. You can also try to copy script into file and try to execute it with nxscript.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6261</link><guid isPermaLink="true">https://forum.netxms.org/post/6261</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 09 Nov 2011 13:45:28 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 13:42:18 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i have used this template back from the days i started with version 1.0.12.<br />
in this version the default configuration was that in the filtering section there were comments that pointed out the variables one can use in the filtering script like $1 and so.<br />
so it looks something like this:<br />
/////////////////////////////////<br />
// smoething<br />
// $1 - the ip address.....</p>
<p dir="auto">is this the issue ? if so,we have to have the parameters mentioned anywhere otherwise, at least for me, i will not be able to remember them</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/6260</link><guid isPermaLink="true">https://forum.netxms.org/post/6260</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 09 Nov 2011 13:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to Agent Configuration on Wed, 09 Nov 2011 13:37:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It's error in filtering script, not a config itself. How your filtering script for config looks like?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6258</link><guid isPermaLink="true">https://forum.netxms.org/post/6258</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 09 Nov 2011 13:37:15 GMT</pubDate></item></channel></rss>