Page 1 of 1

Graphs don't represent integer data properly

Posted: Wed Apr 22, 2020 11:22 am
by nicholashadaway
I have a check that returns values of 0-4 (integer), but the graph doesn't represent those integer values. Attached shows the graph I get which has varying decimal values for check values instead of (0,1,2,3,4)

Re: Graphs don't represent integer data properly

Posted: Wed Apr 22, 2020 1:01 pm
by benjaminsmith
Hi Nicholas,

In Nagios XI, the performance data is stored in RRD (round-robin database) files. The files remain the same size regardless of how long the Nagios XI server has been collecting data. On large installs, this prevents the performance data from using up excessive amounts of drive space.

When the plugin data is returned, RRDtool will create consolidated data points from min.max and average calculations and this is what is shown in the graph. In other words, the plots on the graph are not directly taken from plugin output.

Hope that helps answer your question. Let me know if you need clarification on anything.

Reference:
Wikipedia RRDtool