Availability Summary Data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tcpbr
Posts: 29
Joined: Fri Jul 11, 2014 12:22 pm

Re: Availability Summary Data

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Availability Summary Data

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Availability Summary Data

Post 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

Code: Select all

service httpd restart
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tcpbr
Posts: 29
Joined: Fri Jul 11, 2014 12:22 pm

Re: Availability Summary Data

Post by tcpbr »

After migrating to a new server no performance chart is available.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Availability Summary Data

Post by abrist »

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.
tcpbr
Posts: 29
Joined: Fri Jul 11, 2014 12:22 pm

Re: Availability Summary Data

Post by tcpbr »

Yes the upgrade was done. But the graphics are not shown
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Availability Summary Data

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
tcpbr
Posts: 29
Joined: Fri Jul 11, 2014 12:22 pm

Re: Availability Summary Data

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Availability Summary Data

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked