<?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 Error issue]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm trying to implement service that downloads file from my servers and gives me time of download. I am doing this via ExternalParameter.<br />
Of course if download time is bigger then ExecTimeout in agent config I get an &lt;&lt; ERROR &gt;&gt;. I want to change this error value to integer.<br />
For example, if my download time is greater then 45 seconds, then return 60. I've tried to add the following transformation script, but it doesn't work.<br />
Will be grateful for any help.</p>
<pre><code>sub main ()
{
  if ($1 &lt; 46)
    return $1;
  else
    return 60;
}
</code></pre>
]]></description><link>https://forum.netxms.org/topic/2071/dci-error-issue</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:20:11 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2071.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Dec 2012 09:14:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI Error issue on Wed, 12 Dec 2012 20:41:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Basically, you cannot convert data collection error to value. You only can set threshold on that. For long-running external parameters I would recommend using external parameter provider instead: <a href="http://wiki.netxms.org/wiki/ExternalParametersProvider" rel="nofollow ugc">http://wiki.netxms.org/wiki/ExternalParametersProvider</a>.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9109</link><guid isPermaLink="true">https://forum.netxms.org/post/9109</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 12 Dec 2012 20:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Error issue on Wed, 12 Dec 2012 14:46:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rostyslav" aria-label="Profile: rostyslav">@<bdi>rostyslav</bdi></a> said in <a href="/post/9100">DCI Error issue</a>:</p>
<blockquote>
<p dir="auto">There is no history.</p>
</blockquote>
<p dir="auto">collect some raw value (without transformation)</p>
]]></description><link>https://forum.netxms.org/post/9101</link><guid isPermaLink="true">https://forum.netxms.org/post/9101</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Wed, 12 Dec 2012 14:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Error issue on Wed, 12 Dec 2012 10:37:33 GMT]]></title><description><![CDATA[<p dir="auto">There is no history.</p>
]]></description><link>https://forum.netxms.org/post/9100</link><guid isPermaLink="true">https://forum.netxms.org/post/9100</guid><dc:creator><![CDATA[rostyslav]]></dc:creator><pubDate>Wed, 12 Dec 2012 10:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Error issue on Wed, 12 Dec 2012 10:27:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rostyslav" aria-label="Profile: rostyslav">@<bdi>rostyslav</bdi></a> said in <a href="/post/9097">DCI Error issue</a>:</p>
<blockquote>
<p dir="auto">Hello,</p>
<p dir="auto">I'm trying to implement service that downloads file from my servers and gives me time of download. I am doing this via ExternalParameter.<br />
Of course if download time is bigger then ExecTimeout in agent config I get an &lt;&lt; ERROR &gt;&gt;. I want to change this error value to integer.<br />
For example, if my download time is greater then 45 seconds, then return 60. I've tried to add the following transformation script, but it doesn't work.<br />
Will be grateful for any help.</p>
<pre><code>sub main ()
{
  if ($1 &lt; 46)
    return $1;
  else
    return 60;
}
</code></pre>
</blockquote>
<p dir="auto">history for this DCI?</p>
]]></description><link>https://forum.netxms.org/post/9099</link><guid isPermaLink="true">https://forum.netxms.org/post/9099</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Wed, 12 Dec 2012 10:27:36 GMT</pubDate></item></channel></rss>