Page 1 of 1

Nagios Graph Not showing up

Posted: Thu Jun 16, 2016 5:08 pm
by mrksiddiqui
Our Nagios graph are not processing perfdata. Both host-perfdata and service-perfdata files are growing in size. However no RRD files or graphs are being displayed since last month. Performance Data process is shown green in NagiosXI. Need some assistance with this.



npcd.log
06-16-2016 15:06:49] NPCD: ThreadCounter 0/5 File is .
[06-16-2016 15:06:49] NPCD: DEBUG: load 0.370000/20.000000
[06-16-2016 15:06:49] NPCD: ThreadCounter 0/5 File is ..
[06-16-2016 15:06:49] NPCD: No more files to process... waiting for 15 seconds
[06-16-2016 15:07:04] NPCD: Found 2 files in /usr/local/nagios/var/spool/perfdata/
[06-16-2016 15:07:04] NPCD: DEBUG: load 0.290000/20.000000
[06-16-2016 15:07:04] NPCD: ThreadCounter 0/5 File is .
[06-16-2016 15:07:04] NPCD: DEBUG: load 0.290000/20.000000
[06-16-2016 15:07:04] NPCD: ThreadCounter 0/5 File is ..
[06-16-2016 15:07:04] NPCD: No more files to process... waiting for 15 seconds

Re: Nagios Graph Not showing up

Posted: Fri Jun 17, 2016 9:10 am
by lmiltchev
You can start with following the steps, outlined in our "Nagios XI - Performance Graph Problems" KB article:
https://support.nagios.com/kb/article.php?id=9

Are you using a RAM disk? If you do (and you set RAM disk manually), it is possible that you missed some of the required steps.

Run the following commands, and show the output:

Code: Select all

ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
If you are using RAM disk, run the following commands instead:

Code: Select all

ls /var/nagiosramdisk/spool/xidpe | wc -l
ls /var/nagiosramdisk/spool/perfdata/ | wc -l
ls /var/nagiosramdisk/spool/checkresults/ | wc -l