Page 1 of 1

CPU graph: no data to display

Posted: Fri Jan 11, 2019 9:27 am
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)

Re: CPU graph: no data to display

Posted: Fri Jan 11, 2019 3:16 pm
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

Re: CPU graph: no data to display

Posted: Mon Jan 14, 2019 8:22 am
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

Re: CPU graph: no data to display

Posted: Mon Jan 14, 2019 8:25 am
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

Re: CPU graph: no data to display

Posted: Mon Jan 14, 2019 9:54 am
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.