<?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[Removing of bad DCI data]]></title><description><![CDATA[<p dir="auto">When setting up different nodes for capturing data (Raspberry Pi and temperature probes), at times when pulling for data when rewiring the Raspberry Pi (adding another temp sensor), the returned value is 99.0. </p>
<p dir="auto">How does one remove some bad data?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.netxms.org/topic/4885/removing-of-bad-dci-data</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:05:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4885.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Jan 2017 15:35:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Removing of bad DCI data on Tue, 24 Jan 2017 11:00:51 GMT]]></title><description><![CDATA[<p dir="auto">Returning 'null' from data collection will cause a data collection error.<br />
The DCI will have '&lt;&lt;ERROR&gt;&gt;' value in 'Last Values', and nothing will be written to the DB.</p>
]]></description><link>https://forum.netxms.org/post/21726</link><guid isPermaLink="true">https://forum.netxms.org/post/21726</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Tue, 24 Jan 2017 11:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to Removing of bad DCI data on Tue, 24 Jan 2017 03:01:01 GMT]]></title><description><![CDATA[<p dir="auto">I'd use a transformation script to filter out the known bad values.</p>
<p dir="auto">Something like</p>
<pre><code>if ($1 == 99.0) return null;
else return $1;
</code></pre>
<p dir="auto">The above would replace the 99.0 with null. Technically still "bad data" and I admit I did not test using null (I tend to set "0" or some descriptive error, depending on what I'm collecting).</p>
<p dir="auto">To remove data already collected, you either have to either clear the collected data (which will wipe your good data along with it) or go into your database, locate the bad values and remove them.</p>
<p dir="auto">Hope this helps.</p>
]]></description><link>https://forum.netxms.org/post/21724</link><guid isPermaLink="true">https://forum.netxms.org/post/21724</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Tue, 24 Jan 2017 03:01:01 GMT</pubDate></item></channel></rss>