Performance Graph applies decimals

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Performance Graph applies decimals

Post 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
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Performance Graph applies decimals

Post 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
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Performance Graph applies decimals

Post 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
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Performance Graph applies decimals

Post by FCC_Nagios_Support »

Many Thanks Sir,
Good explanation
KR
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Performance Graph applies decimals

Post by vtrac »

Great!! .... locking thread ... :-)
Locked