Host Detail no longer working
-
scott.steves
- Posts: 4
- Joined: Sat Aug 17, 2013 10:25 pm
Host Detail no longer working
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
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
Is this happening at all times? Can you run the following and share the output:
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:
Please
Have you tried running another repair?
Code: Select all
tail -f /var/log/httpd/error_logAlso share:
Code: Select all
tail -30 /var/log/mysqld.logHave you tried running another repair?
-
scott.steves
- Posts: 4
- Joined: Sat Aug 17, 2013 10:25 pm
Re: Host Detail no longer working
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.
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.
You do not have the required permissions to view the files attached to this post.
Re: Host Detail no longer working
Can you see hosts fine in Nagios Core?
[url]http://<nagios_server_IP>/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail[/url]
[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
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
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.
Reason: Please edit your previous post to add information/questions if you are the last poster.
Re: Host Detail no longer working
Could you post the output of:
You have a number of errors pertaining to php execution time and latency.
Code: Select all
grep "latency\|execution" /etc/php.iniFormer 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.
"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
It's showing max_execution_time = 30 (Also comments)
Re: Host Detail no longer working
Glad you got it working. Locking 'er up.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
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.
"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.
Re: Host Detail no longer working
Run the following commands in the exact order:
then clicked on the Host Detail from the Nagios XI web interface, and let us know if you can view hosts.
Code: Select all
service nagios stop
killall -9 nagios
service ndo2db stop
service nagios start
service ndo2db startBe sure to check out our Knowledgebase for helpful articles and solutions!