Host Detail no longer working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
scott.steves
Posts: 4
Joined: Sat Aug 17, 2013 10:25 pm

Host Detail no longer working

Post by scott.steves »

I'll preface this by saying I'm still very new to Nagios, so I may just be overlooking something.

We just had an extended maintenance period that required all VM's to be shutdown. When I brought Nagios back online I saw I had some database issues that required a repair. After using "http://assets.nagios.com/downloads/nagi ... tabase.pdf" to repair the database, I found that when I click the "Host Detail" link, it just sits and spins. I can go to all the other host links and they work just fine. It's specifically the host detail link.

Is there something else I need to repair maybe?

Thanks!

-Scott
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Host Detail no longer working

Post by slansing »

Is this happening at all times? Can you run the following and share the output:

Code: Select all

tail -f /var/log/httpd/error_log
Then, try clicking on the Host Detail link. Give it about 10 seconds and send us the output that was placed in your terminal from the tail.

Also share:

Code: Select all

tail -30 /var/log/mysqld.log
Please

Have you tried running another repair?
scott.steves
Posts: 4
Joined: Sat Aug 17, 2013 10:25 pm

Re: Host Detail no longer working

Post by scott.steves »

Thanks for the reply

Yes, the problem happens for every attempt.

Output from error_log and mysqld.log are attached.

The second repair had no effect on the Host Detail page.
error_log.txt
mysqld.log
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Detail no longer working

Post by lmiltchev »

Can you see hosts fine in Nagios Core?

[url]http://<nagios_server_IP>/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail[/url]
Be sure to check out our Knowledgebase for helpful articles and solutions!
scott.steves
Posts: 4
Joined: Sat Aug 17, 2013 10:25 pm

Re: Host Detail no longer working

Post by scott.steves »

Yes, that came up just fine.

OK so after opening the Nagios core host page, it seems that the Host Detail page is working again. I'm not sure why, but I'll take the fix.

Thank you all for the help!


Scott
Last edited by slansing on Mon Aug 19, 2013 1:45 pm, edited 1 time in total.
Reason: Please edit your previous post to add information/questions if you are the last poster.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host Detail no longer working

Post by abrist »

Could you post the output of:

Code: Select all

grep "latency\|execution" /etc/php.ini
You have a number of errors pertaining to php execution time and latency.
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.
scott.steves
Posts: 4
Joined: Sat Aug 17, 2013 10:25 pm

Re: Host Detail no longer working

Post by scott.steves »

It's showing max_execution_time = 30 (Also comments)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host Detail no longer working

Post by abrist »

scott.steves wrote:Yes, that came up just fine.

OK so after opening the Nagios core host page, it seems that the Host Detail page is working again. I'm not sure why, but I'll take the fix.

Thank you all for the help!


Scott
Glad you got it working. Locking 'er up.
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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Detail no longer working

Post by lmiltchev »

Run the following commands in the exact order:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
service nagios start
service ndo2db start
then clicked on the Host Detail from the Nagios XI web interface, and let us know if you can view hosts.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked