Page 1 of 1

Check with wrong values.

Posted: Mon Dec 03, 2018 9:25 am
by nagiosEngie
Hello Nagios Crew,
I am having an issue with the values represented in a graph. I have created a script in power shell that counts hops from a remote machine towards its AD. The script will return the number of hops to nagios and it will graph it.

The script will have the following output:

Code: Select all

OK: HOP Count is 6 |'Hops'=6;;;;
Value will always be a round number with no decimals (there are no fractions of lines).
Attached also CSV with collected values.
When I have a look at the graph relative to this parameter I will get some unexpected values like in image graph03.jpg

What am I missing?

Sandro

Re: Check with wrong values.

Posted: Mon Dec 03, 2018 3:16 pm
by cdienger
You're not missing anything - this can happen normally due to the way data is stored in the rrd files. If a value stays consistent over a few checks you'll eventually see the whole number graphed.

Re: Check with wrong values.

Posted: Mon Dec 03, 2018 3:24 pm
by lmiltchev
Just to add to what cdienger said - here's an article, explaining how performance data is averaged over time and why:

https://support.nagios.com/kb/article/n ... g-768.html

Hope this helps.