Service Status and Host status pages just hangs - SOLVED

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sdh
Posts: 7
Joined: Thu Nov 22, 2012 9:32 am

Service Status and Host status pages just hangs - SOLVED

Post 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.
Last edited by sdh on Mon Nov 26, 2012 8:00 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service Status and Host status pages just hangs

Post by scottwilkerson »

This sounds like you may have database corruption.

Here a procedure to repair
http://library.nagios.com/library/produ ... i-database
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sdh
Posts: 7
Joined: Thu Nov 22, 2012 9:32 am

Re: Service Status and Host status pages just hangs

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

Re: Service Status and Host status pages just hangs

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sdh
Posts: 7
Joined: Thu Nov 22, 2012 9:32 am

Re: Service Status and Host status pages just hangs

Post 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.....
A.Cormack
Posts: 103
Joined: Fri Nov 23, 2012 6:32 pm

Re: Service Status and Host status pages just hangs

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

Re: Service Status and Host status pages just hangs

Post by scottwilkerson »

If you are using Internet Explorer on the machine that isn't working you likely need to turn on compatibility mode.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sdh
Posts: 7
Joined: Thu Nov 22, 2012 9:32 am

Re: Service Status and Host status pages just hangs

Post 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?
A.Cormack
Posts: 103
Joined: Fri Nov 23, 2012 6:32 pm

Re: Service Status and Host status pages just hangs

Post 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
Locked