Page 1 of 3

VMWare setup

Posted: Thu Feb 27, 2014 10:33 am
by Sbergonzi
I have NagiosXI running in a VMWare session, started fine. My question is now...what do I do? I used nagiosxi-2012r2.9-vmware.zip to get running and how do I access the console? Do I have to run the install first?

Definitely a newbie here, thanks for the help!

Re: VMWare setup

Posted: Thu Feb 27, 2014 10:39 am
by tmcdonald
Open the console, and it should list your IP address in the banner. Visit that in a browser and it should pop right up.

Re: VMWare setup

Posted: Thu Feb 27, 2014 10:44 am
by slansing
The VMware images are preconfigured with Nagios XI, all you should have to do is start it up with VMware player, ESX, etc, and once started the console should load up just fine. Once it has loaded you should see a banner that says NAGIOS XI with the system's address, and root password. You should just be able to access the address that was handed to your VM from a web browser to get started.

Re: VMWare setup

Posted: Thu Feb 27, 2014 11:06 am
by Sbergonzi
I see the IP for the URL inthe banner, tried it and got "This page can't be displayed". I tried with IE and Chrome.

Logging in with root works fine. Is there a way to check if it's running ok?

Re: VMWare setup

Posted: Thu Feb 27, 2014 11:12 am
by slansing
Sure, run the following:

Code: Select all

ifconfig
Look for a valid, active IP address, and use that address, you should only have one interface other than the loopback (with our VM's it should be labeled eth0). It should still be the same one, if you are still having troubles accessing the web interface run the following commands and post the output here (It may be easier to copy the output by using an SSH client such as Putty as you can freely move your mouse cursor and highlight to copy):

Code: Select all

service nagios status

service httpd status

service postgresql status

tail -50 /var/log/httpd/error_log

Re: VMWare setup

Posted: Thu Feb 27, 2014 12:09 pm
by Sbergonzi
All services are running and no errors in the log, ifconfig showed that IP as the inet addr. Looks like all is going ok. It seems a browser on my pc can't get to that IP in the VMWare player.

Re: VMWare setup

Posted: Thu Feb 27, 2014 4:51 pm
by slansing
The address would not be set to 127.0.0.1 would it? Are you on the same network as the VM? Can you ping that address from your workstation?

Re: VMWare setup

Posted: Thu Feb 27, 2014 4:58 pm
by Sbergonzi
nope, 192.168.2.9, yes on the same network. I tried the ping and it didn't work as well. I've tried the different network configurations in VMware Player, no luck.

Re: VMWare setup

Posted: Thu Feb 27, 2014 6:04 pm
by abrist
Could your workstation firewall be the issue?
How did you configure the network interface in vmware player/workstation? (bridged, nat, other)?

Re: VMWare setup

Posted: Mon Mar 03, 2014 12:26 pm
by Sbergonzi
I tried all the network configurations...after a reboot because no IP was showing, an IP now displays and it works! Really unclear what changed though I can now move forward with an evaluation!

Thank you for the assistance.