Page 4 of 4
Re: Availability Summary Data
Posted: Fri Feb 13, 2015 6:30 am
by tcpbr
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?
Yes, after we install nagios is working properly
The version is obtained from: wget
http://assets.nagios.com/downloads/nagi ... est.tar.gz
Re: Availability Summary Data
Posted: Fri Feb 13, 2015 10:04 am
by scottwilkerson
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.
Re: Availability Summary Data
Posted: Fri Feb 13, 2015 10:10 am
by scottwilkerson
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..
Then restart httpd
Re: Availability Summary Data
Posted: Mon Mar 09, 2015 11:30 am
by tcpbr
After migrating to a new server no performance chart is available.
Re: Availability Summary Data
Posted: Mon Mar 09, 2015 11:38 am
by abrist
Did you perform the newest ./upgrade after the restore as suggested by Scott?
Re: Availability Summary Data
Posted: Wed Mar 11, 2015 8:00 am
by tcpbr
Yes the upgrade was done. But the graphics are not shown
Re: Availability Summary Data
Posted: Wed Mar 11, 2015 12:43 pm
by lmiltchev
Can you click on the "Advanced" tab and show us a screenshot?
Also, run the following commands and show us the output:
Code: Select all
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?
Re: Availability Summary Data
Posted: Sat Mar 14, 2015 6:54 pm
by tcpbr
Code: Select all
[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
Re: Availability Summary Data
Posted: Sun Mar 15, 2015 10:07 pm
by Box293
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:
http://support.nagios.com/wiki/index.ph ... leshooting
Wait 15 - 20 minutes and then get a tail of the logs:
tail -250 /usr/local/nagios/var/perfdata.log > /tmp/perfdata.txt
tail -250 /usr/local/nagios/var/npcd.log > /tmp/npcd.txt
Send us a copy of /tmp/perfdata.txt and /tmp/npcd.txt
Don't forget to turn down the log level as per the FAQ when you are done!
Also, it wouldn't hurt to follow the steps here:
ICMP and Ping Checks Stopped Graphing After XI 2014 Upgrade
http://support.nagios.com/wiki/index.ph ... 14_Upgrade