<?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[Calculated DCI with Multiple OIDs]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a question how can I calculate DCI with Multiple OIDs.</p>
<p dir="auto">ifInOctets  --&gt;  .1.3.6.1.2.1.2.2.1.10<br />
ifSpeed  --&gt;  .1.3.6.1.2.1.2.2.1.5</p>
<p dir="auto">I wnat to calculate the belows;</p>
<p dir="auto">((ifInOctets) * 8 / ifSpeed) * 100</p>
<p dir="auto">Could you le me know how can I make the script code?</p>
<p dir="auto">Best Regards,<br />
-Terry</p>
]]></description><link>https://forum.netxms.org/topic/333/calculated-dci-with-multiple-oids</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:41:00 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/333.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 May 2008 02:18:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calculated DCI with Multiple OIDs on Wed, 14 May 2008 01:34:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so much.</p>
<p dir="auto">It was good for me.</p>
<p dir="auto">Best Regards,</p>
<ul>
<li>Terry</li>
</ul>
]]></description><link>https://forum.netxms.org/post/1632</link><guid isPermaLink="true">https://forum.netxms.org/post/1632</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Wed, 14 May 2008 01:34:24 GMT</pubDate></item><item><title><![CDATA[Reply to Calculated DCI with Multiple OIDs on Tue, 13 May 2008 11:42:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">First, you should create DCI for ifSpeed. Let's assume that it's description will be &quot;Interface speed&quot; (without quotes). After that, create DCI for ifInOctets, and create transformation script for it:</p>
<pre><code>(($1 * 8) / GetDCIValue($node, FindDCIByDescription($node, &quot;Interface speed&quot;))) * 100
</code></pre>
<p dir="auto">If you will use different DCI description for ifSpeed parameter, change call to FindDCIByDescription accordingly.</p>
<p dir="auto">You can also take a look at the following topic:</p>
<p dir="auto"><a href="https://www.netxms.org/forum/index.php/topic,292.msg1495.html#msg1495" rel="nofollow ugc">https://www.netxms.org/forum/index.php/topic,292.msg1495.html#msg1495</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1626</link><guid isPermaLink="true">https://forum.netxms.org/post/1626</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 13 May 2008 11:42:20 GMT</pubDate></item></channel></rss>