Page 1 of 1

Performance graph not working

Posted: Wed Feb 20, 2019 2:46 am
by Pselvin
Nagios XI - 5.5.7

We recently migrated Nagios from CentOS to RHEL7. After the migration we are not able to see performance graph's.


[nagios@nagios ~]$ tail -f /usr/local/nagios/var/perfdata.log
2019-02-20 02:21:45 [20702] [1] Cant find Nagios Environment. Exiting ....
2019-02-20 02:28:02 [736] [2] Using Config File /usr/local/nagios/etc/pnp/process_perfdata.cfg parameters
2019-02-20 02:28:02 [736] [1] process_perfdata.pl-0.4.14 starting in DEFAULT Mode
2019-02-20 02:28:02 [736] [1] Cant find Nagios Environment. Exiting ....
2019-02-20 02:33:28 [11560] [2] Using Config File /usr/local/nagios/etc/pnp/process_perfdata.cfg parameters
2019-02-20 02:33:28 [11560] [1] process_perfdata.pl-0.4.14 starting in DEFAULT Mode
2019-02-20 02:33:28 [11560] [1] Cant find Nagios Environment. Exiting ....
2019-02-20 02:39:02 [22654] [2] Using Config File /usr/local/nagios/etc/pnp/process_perfdata.cfg parameters
2019-02-20 02:39:02 [22654] [1] process_perfdata.pl-0.4.14 starting in DEFAULT Mode
2019-02-20 02:39:02 [22654] [1] Cant find Nagios Environment. Exiting ....


[nagios@nagios ~]# tail -f /usr/local/nagios/var/npcd.log
[02-20-2019 02:45:40] NPCD: ThreadCounter 0/5 File is .
[02-20-2019 02:45:40] NPCD: DEBUG: load 5.350000/14.000000
[02-20-2019 02:45:40] NPCD: ThreadCounter 0/5 File is ..
[02-20-2019 02:45:40] NPCD: No more files to process... waiting for 15 seconds
[02-20-2019 02:45:55] NPCD: Found 2 files in /usr/local/nagios/var/spool/perfdata/
[02-20-2019 02:45:55] NPCD: DEBUG: load 4.750000/14.000000
[02-20-2019 02:45:55] NPCD: ThreadCounter 0/5 File is .
[02-20-2019 02:45:55] NPCD: DEBUG: load 4.750000/14.000000
[02-20-2019 02:45:55] NPCD: ThreadCounter 0/5 File is ..
[02-20-2019 02:45:55] NPCD: No more files to process... waiting for 15 seconds
[02-20-2019 02:46:10] NPCD: Found 2 files in /usr/local/nagios/var/spool/perfdata/
[02-20-2019 02:46:10] NPCD: DEBUG: load 4.730000/14.000000
[02-20-2019 02:46:10] NPCD: ThreadCounter 0/5 File is .
[02-20-2019 02:46:10] NPCD: DEBUG: load 4.730000/14.000000
[02-20-2019 02:46:10] NPCD: ThreadCounter 0/5 File is ..
[02-20-2019 02:46:10] NPCD: No more files to process... waiting for 15 seconds

Re: Performance graph not working

Posted: Wed Feb 20, 2019 1:47 pm
by lmiltchev
Have you modified your perfdata commands in any way? Can you post the command definitions of process-host-perfdata-file and process-service-perfdata-file commands?

Have you upgraded php4nagios on this system, which caused the graphing to fail?

Have you tried following all of the steps, outlined in the KB article listed below?

https://support.nagios.com/kb/article/n ... ems-9.html

Re: Performance graph not working

Posted: Fri Mar 01, 2019 6:23 am
by Pselvin
This issue is fixed. Please close this case.

Re: Performance graph not working

Posted: Fri Mar 01, 2019 1:39 pm
by scottwilkerson
Pselvin wrote:This issue is fixed. Please close this case.
great!

Locking thread