<?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[Inbound Traffic (bit) does not work correct]]></title><description><![CDATA[<p dir="auto">Hi,<br />
i have a lot of dci elements for the port traffic (bits/sec). As you can see in the picture, this does not work if the traffic is more than 2.1g. Suddenly we have negative values. The Port is a 10g port.<br />
If I monitor byte instead of bit, everything works fine. Even if I update the mysql database (*8 to get bit) everything is still fine (and i get about 2.7-3g)<br />
So I think that there is a Bug in the DCI bits/s with the transformation.</p>
<p dir="auto">Here some information:</p>
<p dir="auto">I tried:<br />
30 an 60 seconds polling interval<br />
Unsigned integer 64 bit and Integer 54 bit</p>
<p dir="auto">If I take a look at the History values for the DCI in netxms I get something like:<br />
2140082744<br />
2130266056<br />
-2088964288<br />
-2087799680<br />
2027156922</p>
<p dir="auto">If you check the mysql Database sometimes I get values like:<br />
18446744071578687616<br />
18446744071621501168<br />
and sometimes negative values.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000003322-line.PNG" alt="line.PNG" class="img-markdown  img-fluid" width="616" height="216" /></p>
]]></description><link>https://forum.netxms.org/topic/4784/inbound-traffic-bit-does-not-work-correct</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:05:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4784.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Nov 2016 06:43:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inbound Traffic (bit) does not work correct on Tue, 08 Nov 2016 06:20:13 GMT]]></title><description><![CDATA[<p dir="auto">I think the problem is the max value of integer. It´s 2.147.483.647. I don´t know why he ignores the Datatype you set at the dci.<br />
I think you can solves this if you change the transformation script from "return $1 *8;" to "return $1 * 8.0;".<br />
I will test this today.</p>
]]></description><link>https://forum.netxms.org/post/21329</link><guid isPermaLink="true">https://forum.netxms.org/post/21329</guid><dc:creator><![CDATA[mike]]></dc:creator><pubDate>Tue, 08 Nov 2016 06:20:13 GMT</pubDate></item></channel></rss>