Skip to main content

Hello there,

I am having an issue getting the right value printed on my graph.

I have created a meta service that calculates the sum of two other integer values.

In my output, I get the right result, like: → OK: sum = 443

And the perf data also: → 'gnvalue]'=443.00;;;;

But in the printed curve of the graph, I don't get the exact values; instead, I get values with decimals like 441.82, 440.61, etc.

Any ideas?

Thank you.

 

Hi! All the graphs in Centreon are produced by rrdtool. And is the way rrdtools works: the older the data is the less precise it gets, especially when RRDtool is calulating intermediates. If your sum stays the same for a long time, chances are quite good that the value in the graph is also correct. But if it fluctuates, rrdtool will begin to build averages. This will also happen when your checks “miss” the step configured for the specific RRD database AKA check interval in Centreon.Please read the chapter on consolidation on https://oss.oetiker.ch/rrdtool/doc/rrdtool.en.html


Thank you @derEdu for these details. 


Reply