Graphs not updated after migration to new server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
altsysrq
Posts: 17
Joined: Thu Feb 26, 2015 12:35 pm

Graphs not updated after migration to new server

Post by altsysrq »

I recently migrated to a new server. I restored the data from the old server to the new. Now graphs do not show up for anything recent.

Code: Select all

tail -10 /usr/local/nagios/var/perfdata.log
2016-04-13 11:00:32 [15370] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1460563203.perfdata.service-PID-15370 deleted
2016-04-13 11:00:32 [15373] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-04-13 11:00:32 [15372] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-04-13 11:00:32 [15373] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-04-13 11:00:32 [15370] [0] *** process_perfdata.pl terminated on signal ALRM
2016-04-13 11:00:32 [15372] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-04-13 11:00:32 [15373] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1460563219.perfdata.service-PID-15373 deleted
2016-04-13 11:00:32 [15372] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1460563219.perfdata.host-PID-15372 deleted
2016-04-13 11:00:32 [15373] [0] *** process_perfdata.pl terminated on signal ALRM
2016-04-13 11:00:32 [15372] [0] *** process_perfdata.pl terminated on signal ALRM
I can't get the above to update after 2016-04-13 11:00:32. I am not sure if it is supposed to since I attempted to fixed the timeouts based on these directions: https://support.nagios.com/wiki/index.p ... ta_Timeout

Code: Select all

tail -25 /usr/local/nagios/var/npcd.log
[04-13-2016 22:47:08] NPCD: Regular File: 1460602017.perfdata.service
[04-13-2016 22:47:08] NPCD: A thread was started on thread_counter = 0
[04-13-2016 22:47:08] NPCD: Have to wait: Filecounter = 1 - thread_counter = 1
[04-13-2016 22:47:08] NPCD: Processing file 1460602017.perfdata.service with ID 140352887666432 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1460602017.perfdata.service
[04-13-2016 22:47:08] NPCD: Processing file '1460602017.perfdata.service'
[04-13-2016 22:47:08] NPCD: No more files to process... waiting for 15 seconds
[04-13-2016 22:47:23] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[04-13-2016 22:47:23] NPCD: DEBUG: load 0.440000/10.000000
[04-13-2016 22:47:23] NPCD: ThreadCounter 0/5 File is .
[04-13-2016 22:47:23] NPCD: DEBUG: load 0.440000/10.000000
[04-13-2016 22:47:23] NPCD: ThreadCounter 0/5 File is ..
[04-13-2016 22:47:23] NPCD: DEBUG: load 0.440000/10.000000
[04-13-2016 22:47:23] NPCD: ThreadCounter 0/5 File is 1460602032.perfdata.service
[04-13-2016 22:47:23] NPCD: Regular File: 1460602032.perfdata.service
[04-13-2016 22:47:23] NPCD: A thread was started on thread_counter = 0
[04-13-2016 22:47:23] NPCD: DEBUG: load 0.440000/10.000000
[04-13-2016 22:47:23] NPCD: ThreadCounter 1/5 File is 1460602033.perfdata.host
[04-13-2016 22:47:23] NPCD: Regular File: 1460602033.perfdata.host
[04-13-2016 22:47:23] NPCD: Processing file 1460602032.perfdata.service with ID 140352887666432 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1460602032.perfdata.service
[04-13-2016 22:47:23] NPCD: A thread was started on thread_counter = 1
[04-13-2016 22:47:23] NPCD: Processing file 1460602033.perfdata.host with ID 140352877086464 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1460602033.perfdata.host
[04-13-2016 22:47:23] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[04-13-2016 22:47:23] NPCD: Processing file '1460602032.perfdata.service'
[04-13-2016 22:47:23] NPCD: Processing file '1460602033.perfdata.host'
[04-13-2016 22:47:23] NPCD: No more files to process... waiting for 15 seconds
CentOS 7.2
Installation instructions:
https://assets.nagios.com/downloads/nag ... ctions.pdf
Backup/Restore instructions:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I am not sure where I went wrong. Any ideas?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Graphs not updated after migration to new server

Post by Box293 »

Has increasing the timeout value again in /usr/local/nagios/etc/pnp/process_perfdata.cfg still not made any difference?

Did you try restarting npcd after this?

Code: Select all

service npcd restart
Can you please run these commands on your Nagios XI host and send the output:

Code: Select all

ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
Can you please post these config files:

Code: Select all

/usr/local/nagios/etc/pnp/process_perfdata.cfg
/usr/local/nagios/etc/pnp/npcd.cfg
/usr/local/nagios/etc/nagios.cfg
/etc/sysconfig/nagios
/etc/init.d/nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked