<?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 trasform Script help please]]></title><description><![CDATA[<p dir="auto">Hey all,</p>
<p dir="auto">I'm trying to get a transform script working on my interface table (I'm not very good at scripting).</p>
<p dir="auto">This is what I have at the moment:</p>
<pre><code>idxbin = $1-&gt;getColumnIndex("bytes-in");
idxbout = $1-&gt;getColumnIndex("bytes-out");

for (i=0;i&lt;rowCount;i++)
{
  $1-&gt;set(i,idxbin,$1-&gt;get(i,idxbin * 8);
  $1-&gt;set(i,idxbout,$1-&gt;get(i,idxbout * 8);
}
</code></pre>
<p dir="auto">My columns are "bytes-in" and "bytes-out" and are in octets. Is this correct and also how do I set the transform script to be Delta per second?</p>
<p dir="auto">A little lost and any help would be gratefully accepted...</p>
<p dir="auto"><s>How do I get rid of them god dam stupid faces!!!</s></p>
]]></description><link>https://forum.netxms.org/topic/6411/dci-table-trasform-script-help-please</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:35:21 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6411.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Feb 2020 13:37:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI Table trasform Script help please on Wed, 26 Feb 2020 13:26:35 GMT]]></title><description><![CDATA[<p dir="auto">What I'm after is to change the output from these two columns to be the result * 8 and Average delta per second.</p>
<p dir="auto">This transform only to effect "bytes-in" and "bytes-out" columns in the table.</p>
]]></description><link>https://forum.netxms.org/post/27449</link><guid isPermaLink="true">https://forum.netxms.org/post/27449</guid><dc:creator><![CDATA[LogicalNZ]]></dc:creator><pubDate>Wed, 26 Feb 2020 13:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to DCI Table trasform Script help please on Tue, 25 Feb 2020 15:41:25 GMT]]></title><description><![CDATA[<p dir="auto">What kind of interface table do you mean? Is it a metric of netxms agent or from some SNMP device, or your custom external table? Can you show how data in that table look like?<br />
What result do you want to get?</p>
]]></description><link>https://forum.netxms.org/post/27433</link><guid isPermaLink="true">https://forum.netxms.org/post/27433</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 25 Feb 2020 15:41:25 GMT</pubDate></item></channel></rss>