Page 1 of 1
Performance Graph applies decimals
Posted: Thu May 27, 2021 10:13 pm
by FCC_Nagios_Support
Hello,
Performance Graph applies decimals and my script only writes whole number.
I have a check like:
check_nrpe -H xxxx -c aaaaa
OK: Number of files 150|numfiles=150
But in the graph sometimes shows 150,43 or something like this
Thanks in advance
KR
Re: Performance Graph applies decimals
Posted: Fri May 28, 2021 11:01 am
by vtrac
Hi KR,
How are you doing?
Could you please share your script and the "check_nrpe" command used? ... just want to see if I can test it out.
Also, could you please upload screenshots of the graph, if possible?
Best Regards,
Vinh
Re: Performance Graph applies decimals
Posted: Fri May 28, 2021 11:38 am
by vtrac
Hi,
I checked with development team and here's what they said:
the check's performance data will sometimes get averaged across several checks and show as one data point
the performance data's database is segmented into 5-minute increments, so if two checks don't happen exactly 5 minutes apart (i.e. they happen 4 minutes and 57 seconds apart) the data can sometimes appear slightly off
Best Regards,
Vinh
Re: Performance Graph applies decimals
Posted: Tue Jun 01, 2021 2:28 am
by FCC_Nagios_Support
Many Thanks Sir,
Good explanation
KR
Re: Performance Graph applies decimals
Posted: Tue Jun 01, 2021 9:50 am
by vtrac
Great!! .... locking thread ...
