Page 1 of 1

Performance graph doesn't show integer data.

Posted: Mon Mar 30, 2015 7:35 pm
by Kimseongcheol
Hi~

I'm new to developing Nagios plugins.

It output integer data every 30 minutes. After adding performance data to my script output and i can show graph by using nagiosgraph.

My problem is this graph show float type (not absolute integer value)

ex)if i point cursor on the graph, it appears 2.847 not 3

Please let me know how to solve this problem.

Thank you.

Re: Performance graph doesn't show integer data.

Posted: Tue Mar 31, 2015 12:34 pm
by abrist
RRDs (where performance data is stored) are binary, averaged aggregate round robin databases. As values get older, they are averaged against neighbor values leading to decimal/float values. This is the nature of RRDs.