<?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[Sum values from nodes]]></title><description><![CDATA[<p dir="auto">Good night to everyone,</p>
<p dir="auto">I am using the netxms and enjoying it, however i need a help.<br />
I would like to sum some dci values ​​from my nodes.<br />
My nodes are inside containers Ex: Servers\Server1 , Servers\Web1<br />
I would like to sum, For example , Network in and out and iis current users .<br />
What is the  better way to do this ?<br />
I search int forum a few examples , but I can not understand how to do it</p>
<p dir="auto">Tks all.</p>
]]></description><link>https://forum.netxms.org/topic/4331/sum-values-from-nodes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:26:09 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4331.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Feb 2016 23:13:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sum values from nodes on Mon, 22 Oct 2018 08:03:58 GMT]]></title><description><![CDATA[<p dir="auto">Find template function using <a href="https://wiki.netxms.org/wiki/NXSL:FindObject" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:FindObject</a> function and then iterate over children using <a href="https://wiki.netxms.org/wiki/NXSL:GetObjectChildren" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:GetObjectChildren</a> function and for every netObject with type Node execute GetDCIValueByDescription.</p>
]]></description><link>https://forum.netxms.org/post/24921</link><guid isPermaLink="true">https://forum.netxms.org/post/24921</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Mon, 22 Oct 2018 08:03:58 GMT</pubDate></item><item><title><![CDATA[Reply to Sum values from nodes on Fri, 19 Oct 2018 23:38:07 GMT]]></title><description><![CDATA[<p dir="auto">I'm trying to build a variable script to find all objects beneath a template contain and sum a value from a DCI .1.3.6.1.4.1.17713.21.1.2.10.0. that is common to every device within the container.</p>
<p dir="auto">is there a way to take the node and DCI values and create them in a dynamic fashion?  the goal is to read the total number of connected subs to an AP and have this read additional APs over time automatically.   I've gotten spoiled with the auto-bind functions <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>
<p dir="auto">val1 = GetDCIValueByDescription(FindObject("node1"), "DCI1 description");<br />
val2 = GetDCIValueByDescription(FindObject("node2"), "DCI2 description");</p>
<p dir="auto">if (val1 == null || val2 == null)<br />
  return 0;</p>
<p dir="auto">return val1 + val2;</p>
]]></description><link>https://forum.netxms.org/post/24920</link><guid isPermaLink="true">https://forum.netxms.org/post/24920</guid><dc:creator><![CDATA[mgthump]]></dc:creator><pubDate>Fri, 19 Oct 2018 23:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to Sum values from nodes on Tue, 01 Mar 2016 20:16:53 GMT]]></title><description><![CDATA[<p dir="auto">Tks alot tomaskir,</p>
<p dir="auto">That work's perfect  ;D ;D</p>
]]></description><link>https://forum.netxms.org/post/19324</link><guid isPermaLink="true">https://forum.netxms.org/post/19324</guid><dc:creator><![CDATA[jhonnyvey]]></dc:creator><pubDate>Tue, 01 Mar 2016 20:16:53 GMT</pubDate></item><item><title><![CDATA[Reply to Sum values from nodes on Tue, 01 Mar 2016 15:19:41 GMT]]></title><description><![CDATA[<p dir="auto">Its pretty much the same thing:</p>
<pre><code>val1 = GetDCIValueByDescription(FindObject("node1"), "DCI1 description");
val2 = GetDCIValueByDescription(FindObject("node2"), "DCI2 description");

if (val1 == null || val2 == null)
  return 0;

return val1 + val2;
</code></pre>
<p dir="auto">Functions can be found here:<br />
<a href="https://wiki.netxms.org/wiki/NXSL_Function_Reference" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL_Function_Reference</a></p>
<p dir="auto">Please be award of security implications:<br />
<a href="https://wiki.netxms.org/wiki/SG:Security_Issues" rel="nofollow ugc">https://wiki.netxms.org/wiki/SG:Security_Issues</a></p>
]]></description><link>https://forum.netxms.org/post/19320</link><guid isPermaLink="true">https://forum.netxms.org/post/19320</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Tue, 01 Mar 2016 15:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to Sum values from nodes on Tue, 01 Mar 2016 14:20:15 GMT]]></title><description><![CDATA[<p dir="auto">H itomaskir,</p>
<p dir="auto">Tks for reply!<br />
I see topic, but the sum is from values ​​of a single node.</p>
<p dir="auto">I need make  sum of values from two nodes.<br />
Exemple:</p>
<p dir="auto">Node 1, = Name: Server1 , DCI NetworkIN<br />
Node 2, = Name: Server2 , DCI NetworkIN</p>
<p dir="auto">So how can i make a sum from DCI NetworkIN from server1 and server 2 ?</p>
<p dir="auto">Tks!</p>
]]></description><link>https://forum.netxms.org/post/19319</link><guid isPermaLink="true">https://forum.netxms.org/post/19319</guid><dc:creator><![CDATA[jhonnyvey]]></dc:creator><pubDate>Tue, 01 Mar 2016 14:20:15 GMT</pubDate></item><item><title><![CDATA[Reply to Sum values from nodes on Mon, 29 Feb 2016 14:12:39 GMT]]></title><description><![CDATA[<p dir="auto">Take a look in this thread, it discusses something very similar:<br />
<a href="https://www.netxms.org/forum/general-support/dci-question/" rel="nofollow ugc">https://www.netxms.org/forum/general-support/dci-question/</a></p>
<p dir="auto">If you need help, post more info.</p>
]]></description><link>https://forum.netxms.org/post/19316</link><guid isPermaLink="true">https://forum.netxms.org/post/19316</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Mon, 29 Feb 2016 14:12:39 GMT</pubDate></item></channel></rss>