Performance graph doesn't show integer data.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kimseongcheol
Posts: 4
Joined: Wed Jan 28, 2015 7:37 pm

Performance graph doesn't show integer data.

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance graph doesn't show integer data.

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked