Page 1 of 1

XI page is inaccssible

Posted: Mon Jan 09, 2017 11:30 am
by abc9
Hi,

I wanted to learn Nagios and downloaded sandbox for vmware. I opened the file in virtualbox and logged on to sandbox using sandbox credentials. But I am not able to access XI UI from my mac browser. I am not sure if it is to do with the OS where vmware is running or I need to have additional setups to access that page. I would appreciate if someone can help me here. Thanks in advance!

Re: XI page is inaccssible

Posted: Mon Jan 09, 2017 11:38 am
by dwhitfield
My guess is this is a networking issue in your VM setup. Are you able to access Nagios from within the VM?

Re: XI page is inaccssible

Posted: Mon Jan 09, 2017 12:02 pm
by abc9
Yes I am able to access it from vm, but not outside of vm. It is a network issue. I am not sure how to resolve it. Also the xi url 'http://' is displayed on the nagios logo in VM when I logged on to VM. I have not seen urls in that form before. I did wget http://localhost from vm, I am able to access it with in vm. Thanks a million for quick responses. I really appreciated it.

Re: XI page is inaccssible

Posted: Mon Jan 09, 2017 1:20 pm
by dwhitfield
abc9 wrote:Also the xi url 'http://' is displayed on the nagios logo in VM when I logged on to VM. I have not seen urls in that form before.
I'm not sure I understand what is going on here. Could you send a screenshot? Thanks!

Re: XI page is inaccssible

Posted: Tue Jan 10, 2017 5:04 pm
by abc9
Sorry for the delay, I was not at work yesterday. I captured the screenshot for your references. Thanks in advance for the help!

Re: XI page is inaccssible

Posted: Tue Jan 10, 2017 5:06 pm
by bheden
It looks like maybe your VM isn't grabbing an IP address. Can you log in as root and post the output of

Code: Select all

ifconfig

Re: XI page is inaccssible

Posted: Tue Jan 10, 2017 5:15 pm
by abc9
Attached screenshot. Thanks!

Re: XI page is inaccssible

Posted: Tue Jan 10, 2017 5:39 pm
by bheden
Did you explicitly disable ipv4? I'm going to assume you didn't - in which case this is a problem with your networking configuration on the VM side of things and if so that is outside the scope of our support.

You should be able to gain access via ipv6 as long as your mac has access to that network. Try using the following URL in your browser:

Code: Select all

http://fe80::a00:27ff:fe19:cda9/
You could post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 and I could take a look for something that stands out - but I find this unlikely if you didn't change anything in there.

Re: XI page is inaccssible

Posted: Tue Jan 10, 2017 6:08 pm
by abc9
I did not change any configurations at all. I just opened ova file in virtualbox, and powered on.

Attached screenshot.

Also I am not able to access http link through the browser because of multiple colons in the domain name.

Re: XI page is inaccssible

Posted: Wed Jan 11, 2017 10:26 am
by rkennedy
If you're expecting a DHCP address, then it is definitely a network issue. You will need to bridge it with your connection, to allow DHCP through to the machine. Currently it's probably on NAT or host only for example.

The other option, is setting a static IP address - this is a nice example of what your config would look like - https://gist.github.com/fernandoaleman/2172388

If you don't have proper routing in place though, then the static IP won't matter. The core issue is most likely your networking configuration on the VM, at a hypervisor level.