Performance graphs not updating

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Performance graphs not updating

Post by bosecorp »

We are not able see any update on the graphs. Below are few logs which can help for further troubleshooting.

# tail -25 /usr/local/nagios/var/npcd.log
[06-07-2017 08:58:20] NPCD: Exiting...
[06-07-2017 08:58:20] NPCD: Daemon ended. PID was '27737'
[06-07-2017 08:58:52] NPCD: npcd Daemon (0.4.14) started with PID=9038
[06-07-2017 08:58:52] NPCD: Please have a look at 'npcd -V' to get license information
[06-07-2017 08:58:52] NPCD: HINT: load_threshold is enabled - ('40.000000')
[06-07-2017 08:58:52] NPCD: Error while get file list from spooldir (/var/nagiosramdisk/spool/perfdata/) - No such file or directory
[06-07-2017 08:58:52] NPCD: Exiting...
[06-07-2017 08:58:52] NPCD: Daemon ended. PID was '9038'
[06-07-2017 09:00:04] NPCD: npcd Daemon (0.4.14) started with PID=32284
[06-07-2017 09:00:04] NPCD: Please have a look at 'npcd -V' to get license information
[06-07-2017 09:00:04] NPCD: HINT: load_threshold is enabled - ('40.000000')
[06-07-2017 09:53:31] NPCD: WARN: MAX load reached: load 47.720000/40.000000 at i=0
[06-07-2017 09:53:47] NPCD: WARN: MAX load reached: load 56.120000/40.000000 at i=1
[06-07-2017 09:54:02] NPCD: WARN: MAX load reached: load 59.650000/40.000000 at i=1
[06-07-2017 09:54:17] NPCD: WARN: MAX load reached: load 57.340000/40.000000 at i=1
[06-07-2017 09:54:32] NPCD: WARN: MAX load reached: load 51.460000/40.000000 at i=1
[06-07-2017 09:54:47] NPCD: WARN: MAX load reached: load 40.430000/40.000000 at i=1
[06-07-2017 11:27:39] NPCD: Caught Termination Signal - Hasta la vista... baby
[06-07-2017 11:27:39] NPCD: npcd Daemon (0.4.14) started with PID=8491
[06-07-2017 11:27:39] NPCD: Please have a look at 'npcd -V' to get license information
[06-07-2017 11:27:39] NPCD: HINT: load_threshold is enabled - ('40.000000')
[06-07-2017 11:33:02] NPCD: Caught Termination Signal - Hasta la vista... baby
[06-07-2017 11:33:02] NPCD: npcd Daemon (0.4.14) started with PID=8506
[06-07-2017 11:33:02] NPCD: Please have a look at 'npcd -V' to get license information
[06-07-2017 11:33:02] NPCD: HINT: load_threshold is enabled - ('60.000000')
root@nagmonus1:(06-07 08:40): /usr/local/nagios/share/perfdata/usma19str-pa.bose.com


# tail -25 /usr/local/nagios/var/perfdata.log
2017-06-07 08:17:22 [19260] [0] *** process_perfdata.pl terminated on signal ALRM
2017-06-07 08:17:22 [19259] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-06-07 08:17:22 [19259] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-06-07 08:17:22 [19259] [0] *** TIMEOUT: Please check your npcd.cfg
2017-06-07 08:17:22 [19259] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//host-perfdata.1496837827-PID-19259 deleted
2017-06-07 08:17:22 [19259] [0] *** Timeout while processing Host: "eclddev.bose.com" Service: "_HOST_"
2017-06-07 08:17:22 [19259] [0] *** process_perfdata.pl terminated on signal ALRM
2017-06-07 08:20:27 [32626] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-06-07 08:20:27 [32626] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-06-07 08:20:27 [32626] [0] *** TIMEOUT: Please check your npcd.cfg
2017-06-07 08:20:27 [32626] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//service-perfdata.1496838017-PID-32626 deleted
2017-06-07 08:20:27 [32626] [0] *** Timeout while processing Host: "bibox.bose.com" Service: "Check_Disk_-__tmp_Usage"
2017-06-07 08:20:27 [32626] [0] *** process_perfdata.pl terminated on signal ALRM
2017-06-07 08:25:32 [11182] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-06-07 08:25:32 [11182] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-06-07 08:25:32 [11182] [0] *** TIMEOUT: Please check your npcd.cfg
2017-06-07 08:25:32 [11182] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//service-perfdata.1496838317-PID-11182 deleted
2017-06-07 08:25:32 [11182] [0] *** Timeout while processing Host: "usvacvma03.bose.com" Service: "CPU_Usage"
2017-06-07 08:25:32 [11182] [0] *** process_perfdata.pl terminated on signal ALRM
2017-06-07 08:27:22 [25131] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-06-07 08:27:22 [25131] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-06-07 08:27:22 [25131] [0] *** TIMEOUT: Please check your npcd.cfg
2017-06-07 08:27:22 [25131] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//service-perfdata.1496838428-PID-25131 deleted
2017-06-07 08:27:22 [25131] [0] *** Timeout while processing Host: "usma19str-pa.bose.com" Service: "Check_Windows_Service_-_SCCM"
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Performance graphs not updating

Post by avandemore »

Can you raise the timeout in /usr/local/nagios/etc/pnp/process_perfdata.cfg to something like 20?

One cause of this can be system load. A ramdisk can help IF YOU HAVE SUFFICIENT RAM. This means your system isn't swapping data. Instructions for installing a ram disk can be found here:

https://assets.nagios.com/downloads/nag ... giosXI.pdf
Previous Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Performance graphs not updating

Post by bosecorp »

I do not see any files at below location, secondly all the performance data is gone.. i cant see any graphs.

root@nagmonus1:(06-07 08:40): /usr/local/nagios/share/perfdata
# ls -l
total 0
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Performance graphs not updating

Post by avandemore »

XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM it to me or other support personnel.
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Performance graphs not updating

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Performance graphs not updating

Post by bosecorp »

Yes we are all set

thanks
kyang

Re: Performance graphs not updating

Post by kyang »

Closing this thread.

Feel free to post another thread if you have more questions!
Thanks for using the Nagios Support Forums!
Locked