You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: gbeutner
Status: Resolved (closed on 2016-11-02 07:45:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-02 07:45:04 +00:00 (in Redmine)
Icinga Version: 2.3.4
Backport?: Not yet backported
Include in Changelog: 1
Hello,
I'm using Icinga2 with Icingaweb2 (2.3.4) on a RaspberryPi 3 with Graphite for visualization.
I noticed that large performance values are sometimes displayed incorrectly (e.g. available Disk Space or RX/TX Counters) in graphs.
I had a look at the data which Icinga2 sends via the graphwriter module and found out that is not correct.
However data with a fractional part is transferred and displayed correctly.
I found a section in the source code which I presume leads to this error:
in lib/base/convert.cpp:
if (fractional == 0)
return Convert::ToString(static_cast(val));
If the data has no fractional part, a cast to long is performed which limits the range to (-2147483647 .. 2147483647).
So larger values are exported as the maximum long value.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12995
Created by dav_th on 2016-10-27 15:06:49 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-11-02 07:45:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-02 07:45:04 +00:00 (in Redmine)
Hello,
I'm using Icinga2 with Icingaweb2 (2.3.4) on a RaspberryPi 3 with Graphite for visualization.
I noticed that large performance values are sometimes displayed incorrectly (e.g. available Disk Space or RX/TX Counters) in graphs.
I had a look at the data which Icinga2 sends via the graphwriter module and found out that is not correct.
However data with a fractional part is transferred and displayed correctly.
I found a section in the source code which I presume leads to this error:
in lib/base/convert.cpp:
If the data has no fractional part, a cast to long is performed which limits the range to (-2147483647 .. 2147483647).
So larger values are exported as the maximum long value.
Attachments
Changesets
2016-11-02 07:42:24 +00:00 by gbeutner f48e99c
The text was updated successfully, but these errors were encountered: