Page 1 of 1

Performance Graph showing "No Data to display."

Posted: Fri Apr 09, 2021 3:57 am
by Stuart.Crossan
Hi,

I have a service that has been in a warning state for a few weeks. I recently checked and was able to see data in the performance graph tab for this service. Now when I look at the performance graph I get the message "No data to display". Other services for this host are displaying performance graph data correctly.

What could have stopped this service producing graph data?

Thanks

Re: Performance Graph showing "No Data to display."

Posted: Fri Apr 09, 2021 2:00 pm
by vtrac
Hi Stuart,
Please follow the KB article below to fix the issue:
https://support.nagios.com/kb/article.php?id=9


What is the output of the following command:

Code: Select all

lscpu
The "load_threshold = 10.0" is for single CPU.
You should double it with a dual core "load_threshold = 20", with quad core you should use "load_threshold = 40"

You should restart npcd for the changes to take effect:

Code: Select all

systemctl restart npcd.service

Also, don't forget to increate the timeout in "/usr/local/nagios/etc/pnp/process_perfdata.cfg":

Code: Select all

timeout = 40
Please check the database log (below) and see if the database crashed:

Code: Select all

/var/log/mariadb/mariadb.log
If so, please run the below script to fix the database:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
You can delete everything from: /var/lib/mrtg/ Those are all temp files.

If the above steps do not resolve the issue, please upload the "profile.zip".


Best Regards,
Vinh