CPU graph: no data to display

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dimitrico
Posts: 19
Joined: Mon Oct 08, 2018 2:36 am

CPU graph: no data to display

Post by dimitrico »

Hello,

When I open the graph (CPU) on a server, I get "no data to display" but It's work on another host with the same check ...

I removed the XML and RRD files in /usr/local/nagios/share/perfdata/ for this check but nothing has changed.

Do you have any idea ?

In advance thank you for your support.

(Centos 6.8; Nagios XI 5.5.5)
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: CPU graph: no data to display

Post by tgriep »

Did the xml and rrd files get recreated after they were deleted?
If so, can you post them here so we can view them?

Also, check these log files for any errors when the system is processing the performance data for that service.

Code: Select all

/usr/local/nagios/var/npcd.log
/usr/local/nagios/var/perfdata.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
dimitrico
Posts: 19
Joined: Mon Oct 08, 2018 2:36 am

Re: CPU graph: no data to display

Post by dimitrico »

Yes, the XML file has been recreated, but the rrd seems to be old:

752K -rw-rw-r-- 1 nagios nagios 751K Mar 15 2018 CPU.rrd
752K -rw-rw-r-- 1 nagios nagios 751K Oct 2 2017 CPU_Usage.rrd
4.0K -rw-rw-r-- 1 nagios nagios 2.9K Oct 2 2017 CPU_Usage.xml
4.0K -rw-rw-r-- 1 nagios nagios 2.2K Jan 14 14:19 CPU.xml
dimitrico
Posts: 19
Joined: Mon Oct 08, 2018 2:36 am

Re: CPU graph: no data to display

Post by dimitrico »

I checked the following logs (with verbose level) but everything is ok:

/usr/local/nagios/var/npcd.log
/usr/local/nagios/var/perfdata.log
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: CPU graph: no data to display

Post by tgriep »

You need to go back to that folder, delete the CPU.rrd file, verify that it is gone.
Then wait for about 20 minutes so the check will run, recreate the rrd file and populate it with data.

Then check it in the XI GUI to see the graph displays data.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked