Page 1 of 1

No data to display when viewing performance graph

Posted: Wed Jan 29, 2020 10:19 pm
by bramon
Hi,

When I searched the forum I think the problem is due to ramdisk configuration similar to this thread

https://support.nagios.com/forum/viewto ... to+display

I will try to reconfigure ramdisk and follow the document step by step.

https://assets.nagios.com/downloads/nag ... giosXI.pdf


My concern is on page 9 which is to update /usr/local/nagios/etc/nagios.cfg

Here are my current settings

service_perfdata_file=/nagvar/service-perfdata
host_perfdata_file=/nagvar/host-perfdata
check_result_path=/usr/local/nagios/var/spool/checkresults
object_cache_file=/usr/local/nagios/var/objects.cache
status_file=/usr/local/nagios/var/status.dat
temp_path=/tmp

and the files are already existing

-rw-r--r--. 1 nagios nagios 2659588184 Jan 30 11:15 /nagvar/host-perfdata
-rw-r--r--. 1 nagios nagios 10308056283 Jan 30 11:15 /nagvar/service-perfdata
-rw-r--r--. 1 nagios nagios 1681695 Jan 30 10:34 /usr/local/nagios/var/objects.cache
-rw-rw-r--. 1 nagios nagios 2703620 Jan 30 11:15 /usr/local/nagios/var/status.dat


What will happen if I replace the folder path with /var/nagiosramdisk? Will I still able to use the perfdata?

Re: No data to display when viewing performance graph

Posted: Thu Jan 30, 2020 12:20 pm
by cdienger
These files are expected to already exist and switching the lines to point to /var/nagiosramdisk will simply create new ones under the ramdisk directory. The steps following page 9 will step through configuring the rest of XI to look for the data under the /var/nagiosramdisk directory.