<?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[DCI Collection Error = Transformation Script does not apply?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a few Performance Counter DCIs, which will only collect data when a process is running.<br />
When the process doesn't run, NetXMS will generate a collection error.<br />
So far, so expected.</p>
<p dir="auto">In this particular case, I'd like to be able to transform a data collection error into a value, i.e. 0. Main reason for this are graphs - the errors mean NetXMS will try to connect the dots between whenever instances when the process was running, which looks rather confusing and 0 is in fact accurate in this case. If a process is not running at all, then it is not utilising any CPU (or disk/memory).</p>
<p dir="auto">But it looks as if a collection error means the transformation script is not even called (I added some trace commands, but nothing was ever logged)?<br />
Not sure if it would be possible to allow sending such an error condition through to a transformation script to handle (without breaking the current process, i.e. if a transformation script doesn't handle this particular condition, it should still return the usual data collection error).</p>
<p dir="auto">Cheers</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003878-cpu_graph.jpg" alt="cpu_graph.jpg" class="img-markdown  img-fluid" width="679" height="417" /></p>
]]></description><link>https://forum.netxms.org/topic/5401/dci-collection-error-transformation-script-does-not-apply</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:21:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5401.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jan 2018 05:40:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI Collection Error = Transformation Script does not apply? on Wed, 31 Jan 2018 13:13:15 GMT]]></title><description><![CDATA[<p dir="auto">You can create dummy DCI or script DCI, that will take last value of the DCI and transform it to 0 in case of error.</p>
]]></description><link>https://forum.netxms.org/post/23780</link><guid isPermaLink="true">https://forum.netxms.org/post/23780</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Wed, 31 Jan 2018 13:13:15 GMT</pubDate></item></channel></rss>