<?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[Cisco Switch port bandwidth]]></title><description><![CDATA[<p dir="auto">Greetings all,</p>
<p dir="auto">I am sure that this has been answered, but all my searching finds very old instructions etc.</p>
<p dir="auto">I am looking at getting the bandwidth of switch ports (we use Cisco Catalyst 2960X).</p>
<p dir="auto">I want to do 2 things with this, raise an alert if the utilisation is over 90% for 5mins or longer, and display the Up &amp; down on the Topology may (like in the Manual:  <a href="https://www.netxms.org/documentation/adminguide/visualisation.html" rel="nofollow ugc">Data and Network visualisation — NetXMS Administrator Guide (4.2.433)</a>)</p>
<p dir="auto">I just do not know how to do it, any pointers to guides or instructions would be appreciated.</p>
]]></description><link>https://forum.netxms.org/topic/7693/cisco-switch-port-bandwidth</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:24:42 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7693.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jun 2023 14:25:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cisco Switch port bandwidth on Mon, 26 Jun 2023 20:24:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Most convenient way to achieve this is if you have your interfaces set as Related Object ("Other options" tab in DCI's properties). Related object is automatically set, if you create your DCIs from context menu of interface(s). Or you can set it manually. Or if you use instance discovery to create your DCIs, Related Object can be set from instance discovery filter script.</p>
<p dir="auto">Then, in Transformation script of your DCI you can use</p>
<pre><code>return $1 * 8 / $dci-&gt;relatedObject-&gt;speed;
</code></pre>
<p dir="auto">and your threshold should be "last polled value &gt; 90", samples: 5.</p>
<p dir="auto">There is currently one drawback of this approach - to work with traffic counters, DCI type should be Counter32 or Counter64, and the resulting percentage will be integer (it will be seen as float in last values, but will be integer in history and graphs).<br />
You can have another float DCI with push source and push values from transformation script of the first DCI.<br />
Or just wait for this issue to get resolved: <a href="https://track.radensolutions.com/issue/NX-2371" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-2371</a> - you can watch it in the bug tracker to get notifications.</p>
<p dir="auto">Feel free to ask any additional questions.</p>
]]></description><link>https://forum.netxms.org/post/32543</link><guid isPermaLink="true">https://forum.netxms.org/post/32543</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 26 Jun 2023 20:24:08 GMT</pubDate></item></channel></rss>