<?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[Error in Transformation Script]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I have configured netxms 1.2.2 with OID .1.3.6.1.2.1.67.2.1.1.1.5.0<br />
when I am shutting down my radius server the OID value showing too high tps in the value column</p>
<p dir="auto">when I am using following transformation script<br />
if ($1 &gt; 5000)<br />
  return 0;</p>
<p dir="auto">it is not working in transformation script</p>
<p dir="auto">Thanks &amp; Regards,<br />
Dushyant Dave</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000920-AnyC00102.JPG" alt="AnyC00102.JPG" class="img-markdown  img-fluid" width="1280" height="800" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000922-AnyC00103.JPG" alt="AnyC00103.JPG" class="img-markdown  img-fluid" width="1280" height="800" /></p>
]]></description><link>https://forum.netxms.org/topic/1965/error-in-transformation-script</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:18:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1965.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Oct 2012 12:10:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error in Transformation Script on Sat, 06 Oct 2012 07:13:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello SKYnv,</p>
<p dir="auto">I have tried following script and it is running successfully.</p>
<p dir="auto">if ($1 &gt; 5000)<br />
return 0;<br />
else<br />
return $1;</p>
<p dir="auto">thank you very much. <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/8676</link><guid isPermaLink="true">https://forum.netxms.org/post/8676</guid><dc:creator><![CDATA[dushyantmdave]]></dc:creator><pubDate>Sat, 06 Oct 2012 07:13:50 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 14:27:07 GMT]]></title><description><![CDATA[<p dir="auto">also you can debug with this trace function</p>
<pre><code>sub main()
{
trace(1, "Raw value=".$1);
if ($1 &gt; 5000)
return 0;
}
</code></pre>
<p dir="auto">and if you start netxmsd with debug level 1 option you see raw value=xx in netxms logfile.</p>
<p dir="auto"><em><strong>and set data type to integer</strong></em> because original data type is Counter 32bits</p>
]]></description><link>https://forum.netxms.org/post/8672</link><guid isPermaLink="true">https://forum.netxms.org/post/8672</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Fri, 05 Oct 2012 14:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 14:17:15 GMT]]></title><description><![CDATA[<p dir="auto">can yo check this?</p>
<pre><code>if ($1 &gt; 5000)
return 0;
else
return $1;
</code></pre>
]]></description><link>https://forum.netxms.org/post/8671</link><guid isPermaLink="true">https://forum.netxms.org/post/8671</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Fri, 05 Oct 2012 14:17:15 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 13:38:17 GMT]]></title><description><![CDATA[<p dir="auto">you mean to say, I have to user version 1.2.3?<br />
I can't see the history after putting this script.</p>
]]></description><link>https://forum.netxms.org/post/8670</link><guid isPermaLink="true">https://forum.netxms.org/post/8670</guid><dc:creator><![CDATA[dushyantmdave]]></dc:creator><pubDate>Fri, 05 Oct 2012 13:38:17 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 13:28:58 GMT]]></title><description><![CDATA[<p dir="auto">Please find attached screenshots version 1.2.2</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000924-AnyC00104.JPG" alt="AnyC00104.JPG" class="img-markdown  img-fluid" width="1280" height="800" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000926-AnyC00105.JPG" alt="AnyC00105.JPG" class="img-markdown  img-fluid" width="1280" height="800" /></p>
]]></description><link>https://forum.netxms.org/post/8669</link><guid isPermaLink="true">https://forum.netxms.org/post/8669</guid><dc:creator><![CDATA[dushyantmdave]]></dc:creator><pubDate>Fri, 05 Oct 2012 13:28:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 13:26:03 GMT]]></title><description><![CDATA[<p dir="auto">please find the script:</p>
<p dir="auto">sub main()<br />
{<br />
   if ($1 &gt; 5000)<br />
      return 0;<br />
}</p>
]]></description><link>https://forum.netxms.org/post/8667</link><guid isPermaLink="true">https://forum.netxms.org/post/8667</guid><dc:creator><![CDATA[dushyantmdave]]></dc:creator><pubDate>Fri, 05 Oct 2012 13:26:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 13:24:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello Dave,</p>
<p dir="auto">I've tried out<br />
if ($1 &gt; 5000)<br />
  return 0;</p>
<p dir="auto">on a test DCI (on v1.2.3, though), and it seems to work as expected.<br />
Are you sure the script is applied to radiusAccServTotalResponses, and not just only to the Requests DCI?<br />
Also keep in mind that the script does not work retroactively; it will only change the results of the DCI after the change was made.</p>
<p dir="auto">If you can post some screenshots of the General and Transformation tabs of the DCI, maybe we can find something out of the ordinary there.</p>
]]></description><link>https://forum.netxms.org/post/8666</link><guid isPermaLink="true">https://forum.netxms.org/post/8666</guid><dc:creator><![CDATA[bdefloo]]></dc:creator><pubDate>Fri, 05 Oct 2012 13:24:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error in Transformation Script on Fri, 05 Oct 2012 13:11:18 GMT]]></title><description><![CDATA[<p dir="auto">post script pls</p>
]]></description><link>https://forum.netxms.org/post/8664</link><guid isPermaLink="true">https://forum.netxms.org/post/8664</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Fri, 05 Oct 2012 13:11:18 GMT</pubDate></item></channel></rss>