tgriep wrote:When you installed Nagios XI on the new server, was it running before you tried the restore of the backup?
What was the version of XI you installed on the new server?
Ok, it looks like you may be switching from centos/rhel 5 or 6 and going to 7.
I believe after you have done the restore (which you have) you may need to run the ./upgrade script from the installation directory, because many of the items changed when switching to centos/rhel 7 and the restore is going to restore several directories of files that pertain to the previous version you were running.
Also, you likely will need to unzip the attached and place in /etc/httpd/conf.d to make sure your httpd config are compatible with centos/rhel 7 as these would have been replaced by the restore..
Did you perform the newest ./upgrade after the restore as suggested by Scott?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
service npcd status
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
tail /usr/local/nagios/var/npcd.log
uptime
BTW, did you change architectures when you migrated to the new server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
[root@nagios perfdata]# service npcd status
NPCD running (pid 4387).
[root@nagios perfdata]# ls /usr/local/nagios/var/spool/xidpe | wc -l
0
[root@nagios perfdata]# ls /usr/local/nagios/var/spool/perfdata | wc -l
1
[root@nagios perfdata]# ls /usr/local/nagios/var/spool/checkresults | wc -l
2389
[root@nagios perfdata]# tail /usr/local/nagios/var/npcd.log
[03-05-2015 18:00:17] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1425589197.perfdata.service'
[03-05-2015 21:05:16] NPCD: ERROR: Executed command exits with return code '1'
[03-05-2015 21:05:16] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1425600297.perfdata.service'
[03-05-2015 23:08:55] NPCD: npcd Daemon (0.4.14) started with PID=7470
[03-05-2015 23:08:55] NPCD: Please have a look at 'npcd -V' to get license information
[03-05-2015 23:08:55] NPCD: HINT: load_threshold is enabled - ('10.000000')
[03-11-2015 09:44:26] NPCD: Caught Termination Signal - Hasta la vista... baby
[03-11-2015 09:44:26] NPCD: npcd Daemon (0.4.14) started with PID=4387
[03-11-2015 09:44:26] NPCD: Please have a look at 'npcd -V' to get license information
[03-11-2015 09:44:26] NPCD: HINT: load_threshold is enabled - ('10.000000')
[root@nagios perfdata]# uptime
20:52:13 up 12 days, 9:26, 1 user, load average: 0.32, 0.38, 0.36
You do not have the required permissions to view the files attached to this post.
Lets increase the logging verbosity and then take a deeper look into the logs. Follow the FAQ entry below to increase the log level of process_perfdata and npcd: