<?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[Changing Template - reapply]]></title><description><![CDATA[<p dir="auto">I am starting to use templates in my install to make mass changes easier.  I have a template for windows systems to apply various data collection parameters.  I have applied the template to various systems across several containers.  I have made changes to the template but have noticed that these changes are not applied to the nodes automatically without manually re-applying the template.</p>
<p dir="auto">I see that the template configuration has a "Automatic Apply Rules", so I entered the following script:</p>
<p dir="auto">sub main() {<br />
    return $node-&gt;isAgent;<br />
}</p>
<p dir="auto">I am not seeing the changed template "automaticly" applied to the existing nodes.  Am I missing something?</p>
<p dir="auto">Also I would really like to only apply this to "Windows" agents not all agents but I am not familiar with how to script this.</p>
<p dir="auto">Please help if you can, and thank you.</p>
]]></description><link>https://forum.netxms.org/topic/3846/changing-template-reapply</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:25:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3846.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jun 2015 16:03:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Changing Template - reapply on Thu, 09 Jul 2015 13:49:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">templates may be configured not override "disabled" flag on node DCIs. This is done to allow to disable unsupported/unwanted items on some nodes and not re-disable them after each template change. You can turn this off by setting ApplyDCIFromTemplateToDisabledDCI to 1.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17293</link><guid isPermaLink="true">https://forum.netxms.org/post/17293</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 09 Jul 2015 13:49:42 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Thu, 09 Jul 2015 13:30:27 GMT]]></title><description><![CDATA[<p dir="auto">Disabling DCI is working, but enabling is not working from template.</p>
]]></description><link>https://forum.netxms.org/post/17292</link><guid isPermaLink="true">https://forum.netxms.org/post/17292</guid><dc:creator><![CDATA[joni]]></dc:creator><pubDate>Thu, 09 Jul 2015 13:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Thu, 09 Jul 2015 06:51:57 GMT]]></title><description><![CDATA[<pre><code>nxdbmgr get DefaultAgentCacheMode
NetXMS Database Manager Version 2.0-M5 Build 8027
2
</code></pre>
]]></description><link>https://forum.netxms.org/post/17284</link><guid isPermaLink="true">https://forum.netxms.org/post/17284</guid><dc:creator><![CDATA[joni]]></dc:creator><pubDate>Thu, 09 Jul 2015 06:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Tue, 07 Jul 2015 22:20:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joni" aria-label="Profile: joni">@<bdi>joni</bdi></a> said in <a href="/post/17236">Changing Template - reapply</a>:</p>
<blockquote>
<p dir="auto">Also I got this problemon the M5 version. Have been disabled two DCI on Template, and then activate them - all node's have disabled DCI. I tried to repeat the same thing, after restarting the server, so that no server has not been is locked for editing.</p>
</blockquote>
<p dir="auto">For M5 sounds like the caching problem:</p>
<p dir="auto"><a href="https://www.netxms.org/forum/announcements/netxms-2-0-m5-released/msg17129/#msg17129" rel="nofollow ugc">https://www.netxms.org/forum/announcements/netxms-2-0-m5-released/msg17129/#msg17129</a></p>
<p dir="auto">Best regards,<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/17254</link><guid isPermaLink="true">https://forum.netxms.org/post/17254</guid><dc:creator><![CDATA[Jmp_3f8h]]></dc:creator><pubDate>Tue, 07 Jul 2015 22:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Mon, 06 Jul 2015 10:32:30 GMT]]></title><description><![CDATA[<p dir="auto">Also I got this problemon the M5 version. Have been disabled two DCI on Template, and then activate them - all node's have disabled DCI. I tried to repeat the same thing, after restarting the server, so that no server has not been is locked for editing.</p>
]]></description><link>https://forum.netxms.org/post/17236</link><guid isPermaLink="true">https://forum.netxms.org/post/17236</guid><dc:creator><![CDATA[joni]]></dc:creator><pubDate>Mon, 06 Jul 2015 10:32:30 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Mon, 29 Jun 2015 15:54:01 GMT]]></title><description><![CDATA[<p dir="auto">Change should be instant. Another issue could be opened data collection editors for nodes - while data collection for node is open, server will not apply template changes. If this is not the case, then there is serious bug that needs additional debug.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17196</link><guid isPermaLink="true">https://forum.netxms.org/post/17196</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 29 Jun 2015 15:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Mon, 29 Jun 2015 15:47:34 GMT]]></title><description><![CDATA[<p dir="auto">How long does this take, I have changed my template several times and it does not change the given DCI values on the nodes that it has been applied to.</p>
]]></description><link>https://forum.netxms.org/post/17195</link><guid isPermaLink="true">https://forum.netxms.org/post/17195</guid><dc:creator><![CDATA[curruscanis]]></dc:creator><pubDate>Mon, 29 Jun 2015 15:47:34 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Template - reapply on Mon, 29 Jun 2015 14:42:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you do not need auto-apply script to propagate changes on nodes where template already applied. Changes in template will be propagated on all related nodes as soon as you close data collection editor for template.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17192</link><guid isPermaLink="true">https://forum.netxms.org/post/17192</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 29 Jun 2015 14:42:16 GMT</pubDate></item></channel></rss>