<?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 Table Transformation not working]]></title><description><![CDATA[<p dir="auto">Hi @ll,</p>
<p dir="auto">i try to transform some dci-vlaues, but it does not work for me.</p>
<p dir="auto">conStat = $1-&gt;getColumnIndex("TCPConState");<br />
switch (conStat)<br />
{<br />
case "2":<br />
    return "listen";<br />
  	break;<br />
case "5":<br />
    return "established";<br />
  	break;<br />
case "11":<br />
    return "waiting";<br />
  	break;<br />
default:<br />
    return "unknown"; <br />
}</p>
<p dir="auto">Whe i try this script for a single dci value ($1) it works.</p>
<p dir="auto">No Error occurs after applying. I dont know whats wrong  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--confused" style="height:1.4em;width:auto;vertical-align:middle" title=":-\" alt="😕" /></p>
<p dir="auto">Thx to @ll for help</p>
]]></description><link>https://forum.netxms.org/topic/5751/dci-table-transformation-not-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:33:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5751.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Dec 2018 12:45:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI Table Transformation not working on Thu, 13 Dec 2018 05:41:22 GMT]]></title><description><![CDATA[<p dir="auto">Thx Tursiops and merry christmas  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:1.4em;width:auto;vertical-align:middle" title="8)" alt="😎" /></p>
]]></description><link>https://forum.netxms.org/post/25096</link><guid isPermaLink="true">https://forum.netxms.org/post/25096</guid><dc:creator><![CDATA[knut4linux]]></dc:creator><pubDate>Thu, 13 Dec 2018 05:41:22 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Table Transformation not working on Sat, 08 Dec 2018 11:50:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">In the bottom left you should see a few buttons (for any topics started by you): Remove Topic, Lock Topic and Topic Solved.</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/25081</link><guid isPermaLink="true">https://forum.netxms.org/post/25081</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Sat, 08 Dec 2018 11:50:36 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Table Transformation not working on Fri, 07 Dec 2018 06:22:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi Tursiops,</p>
<p dir="auto">thanks for your help. I know this post but misunderstod.</p>
<p dir="auto">&gt;&gt; Your script is effectively replacing the entire table with one single value</p>
<p dir="auto">This was the decisive note to understand.</p>
<p dir="auto">Many Thanks for you  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
<p dir="auto">How i can mark as solved?</p>
]]></description><link>https://forum.netxms.org/post/25080</link><guid isPermaLink="true">https://forum.netxms.org/post/25080</guid><dc:creator><![CDATA[knut4linux]]></dc:creator><pubDate>Fri, 07 Dec 2018 06:22:44 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Table Transformation not working on Fri, 07 Dec 2018 03:30:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Tables are a bit different. Your script is effectively replacing the entire table with one single value.</p>
<p dir="auto">The following post might help you get this working:<br />
<a href="https://www.netxms.org/forum/configuration/transformations-scripts-for-table-dci/" rel="nofollow ugc">https://www.netxms.org/forum/configuration/transformations-scripts-for-table-dci/</a></p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/25079</link><guid isPermaLink="true">https://forum.netxms.org/post/25079</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Fri, 07 Dec 2018 03:30:10 GMT</pubDate></item></channel></rss>