<?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[NXSL function to enable/disable DCIs on nodes]]></title><description><![CDATA[<p dir="auto">Hi NetXMS team,</p>
<p dir="auto">here's another idea of a potentially useful feature addition:</p>
<p dir="auto">A NXSL function which allows to manually enable and disable DCIs or set their states. The function could be defined such as "setDCIStatus(dci, status)", where dci would be the DCI-object and status an integer with 0=Active, 1=Disabled and 2=Not Supported.</p>
<p dir="auto">Maybe "setDCIStatusByID(dciID, node, status)", with dciID being an integer representing the DCI ID and node being a node-object as optional parameter, would also be possible.</p>
<p dir="auto">The idea came to my mind, because a fairly large set of the nodes within my current setup is receiving monitoring data via NXAgent extension scripts from a centralized database, and are initially created via a big NXSL script under "Infrastructure Services", based on this data, as it is impossible to have a direct monitoring communication with NetXMS - not even with the use of NXAgent and proxy agents.</p>
<p dir="auto">Because these devices might change in their states and different metrics temporarily might not return data any more, it would be useful to have a NXSL function, to disable those metrics via a script, as the "unsupported"-detection is also not working with this setup.</p>
<p dir="auto">I know, template automatic apply rules can be used for this, however, once a template is un-applied from a node, the DCIs on it are gone and there is no way to access their history data via the management console until the template is re-applied, again.</p>
<p dir="auto">What do you think, could this be useful if so, would it be difficult to implement?</p>
<p dir="auto">Kind regards,<br />
fbu</p>
]]></description><link>https://forum.netxms.org/topic/5996/nxsl-function-to-enable-disable-dcis-on-nodes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:09:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5996.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Jun 2019 08:22:38 GMT</pubDate><ttl>60</ttl></channel></rss>