Page 1 of 1

Service Status and Host status pages just hangs - SOLVED

Posted: Thu Nov 22, 2012 9:43 am
by sdh
Hi,

I'm running Microsoft Virtual Server 2005 R2 on a Windows Server 2008 64-bit computer. I've downloaded the NagiosXI image for Microsoft VirtualPC here: http://library.nagios.com/library/produ ... #virtualpc

Starting the image is OK and I can log in to the Nagios web interface. However, choosing the menu option Service Detail or Host Detail (under details) does not display any info. There are three spinning circles that keep on going forever.

Any ideas of what might be wrong?

I'm just trying to test out Nagios.

Re: Service Status and Host status pages just hangs

Posted: Fri Nov 23, 2012 7:50 am
by scottwilkerson
This sounds like you may have database corruption.

Here a procedure to repair
http://library.nagios.com/library/produ ... i-database

Re: Service Status and Host status pages just hangs

Posted: Fri Nov 23, 2012 9:28 am
by sdh
Hi,

That might be true, I will try the procedure. The only thing that's strange about that is that this happened right after I tried the image first time. This is not a used setup at all. I will give feedback when I've tried the repair.

Re: Service Status and Host status pages just hangs

Posted: Fri Nov 23, 2012 10:00 am
by scottwilkerson
The most likely cause of database corruption is power loss. With a VM, this is the equivalent of shutting down the VM without issuing a shutdown command from the console first

Code: Select all

shutdown -h now

Re: Service Status and Host status pages just hangs

Posted: Fri Nov 23, 2012 11:20 am
by sdh
scottwilkerson wrote:The most likely cause of database corruption is power loss. With a VM, this is the equivalent of shutting down the VM without issuing a shutdown command from the console first

Code: Select all

shutdown -h now
This makes perfect sense, so I tried it. I repaired the DB successfully but still the same problem. Now, I decided to start from scratch. I've deleted the virtual machine from Virtual Server, deleted the image files and started off with two new fresh files. I can see that the image is fresh because the one host I tried to add earlier is no longer there. When I click any of the maps they only show localhost and no other hosts.

But still, when I go to either Service Detail or Host Detail is doesn't give me any info. It just hangs indefinitely. Strange.....

Re: Service Status and Host status pages just hangs

Posted: Fri Nov 23, 2012 6:37 pm
by A.Cormack
Hi,

I have the exact same problem. I have downloaded the VM from the Nagios website. Fresh installation, I can monitor devices etc fine and my network map shows them all. But my Service and Hosts page hangs.

What's odd is, if I do it on my home computer, using the same VM (Copied across) I can access the Service/Host pages. But if I do it on my university computer, I can access the service/host page. Maybe its something to do with the network? I'm just not quite sure what.

Thanks

Re: Service Status and Host status pages just hangs

Posted: Sat Nov 24, 2012 9:29 pm
by scottwilkerson
If you are using Internet Explorer on the machine that isn't working you likely need to turn on compatibility mode.

Re: Service Status and Host status pages just hangs

Posted: Sun Nov 25, 2012 4:54 am
by sdh
scottwilkerson wrote:If you are using Internet Explorer on the machine that isn't working you likely need to turn on compatibility mode.
Yes, turning on the compatibility mode in Internet Explorer solves the problem! I spent a long time figuring out why Microsoft Virtual Server (which has a web site administration panel) didn't work, but same problem there - I had to enable the compatibility mode. I didn't know I had to turn it on for every site, so I assumed it was already enabled when I was using NagiosXI. A click on the button in IE solved the problem.

Before I did that I used another browser (in my case, Opera) and it worked fine.

So it seems like Internet Explorer is the root of the cause.

Maybe you can try this too A. Cormack?

Re: Service Status and Host status pages just hangs

Posted: Mon Nov 26, 2012 7:24 am
by A.Cormack
Hi,

I won't have chance to test it until tomorrow. However, this does make perfect sense. In university we use the IE and at home I use Chrome.

I guess it shows its never as complicated as we think :). Thanks for your help