Performance graph showing "No Data to display."

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Stuart.Crossan
Posts: 1
Joined: Tue Apr 06, 2021 8:25 am

Performance graph showing "No Data to display."

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

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

Post 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