This is NagiosXI version 5.4.5. It is running on physical hardware on RedHat 7.3
The perfdata should be using a Ramdisk. All the following config referenced here have been checked and appear to be correct:
https://assets.nagios.com/downloads/nag ... giosXI.pdf
Following the troubleshooting guide at https://support.nagios.com/kb/article.p ... ategory=44
Code: Select all
[root@nagios var]# ls /var/nagiosramdisk/spool/perfdata/ | wc -l
602
[root@nagios var]# ls /var/nagiosramdisk/spool/xidpe/ | wc -l
2
The file /usr/local/nagios/var/perfdata.log is empty.
The NPCD logging verbosity was set to -1.
A sample of the npcd.log shows the following:
Code: Select all
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386909.perfdata.service-PID-23396
[06-13-2017 14:49:22] NPCD: File '1497386909.perfdata.service-PID-23396' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386924.perfdata.host-PID-23574
[06-13-2017 14:49:22] NPCD: File '1497386924.perfdata.host-PID-23574' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386939.perfdata.host-PID-23578
[06-13-2017 14:49:22] NPCD: File '1497386939.perfdata.host-PID-23578' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386939.perfdata.service-PID-23579
[06-13-2017 14:49:22] NPCD: File '1497386939.perfdata.service-PID-23579' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: Regular File: 1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: A thread was started on thread_counter = 0
[06-13-2017 14:49:22] NPCD: Processing file 1497386954.perfdata.host with ID 139683499988736 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: Processing file '1497386954.perfdata.host'
[06-13-2017 14:49:22] NPCD: ThreadCounter 1/5 File is 1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: Regular File: 1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: A thread was started on thread_counter = 1
[06-13-2017 14:49:22] NPCD: Processing file 1497386954.perfdata.service with ID 139683491596032 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: Have to wait: Filecounter = 627 - thread_counter = 2
[06-13-2017 14:49:22] NPCD: Processing file '1497386954.perfdata.service'
[06-13-2017 14:49:22] NPCD: ERROR: Executed command exits with return code '2'
[06-13-2017 14:49:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.service'
[06-13-2017 14:49:22] NPCD: ERROR: Executed command exits with return code '5'
[06-13-2017 14:49:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.host'
[06-13-2017 14:49:24] NPCD: No more files to process... waiting for 15 seconds
Code: Select all
[root@nagios var]# chage -l nagios
Last password change : May 12, 2017
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
Please let me know what your thoughts are on why the performance graphs are not working/appearing.
Thanks!
Matt