Page 1 of 1

setup issue

Posted: Mon Sep 19, 2011 11:00 am
by SCW
Hi,

I have tried setting up Nagios XI on a Windows 2003 server. I have installed vm player and moutned the image but i can't get logged into the interface. I get a page under construction error in the browser. See attached error and config.

Thanks for any help.

Re: setup issue

Posted: Mon Sep 19, 2011 11:34 am
by nscott
Ok, that IP you're trying to connect to is localhost. However it was very helpful that you attached the screenshot as it allows me to see that your real network connection (eth0) did not get an IP address.

Can you type the following into the Nagios XI virtual machine and show me what it returns?

cat /etc/sysconfig/network-scripts/ifcfg-eth0

* Note what that returns in one screenshot

service network restart

* Note what the returns in another screenshot

Also, under Devices (in the VMware Player menu) can you make sure that there is Network device connected?

Re: setup issue

Posted: Mon Sep 19, 2011 3:17 pm
by SCW
Thanks for the reply. I got all the settings that you requested. See attached.

Re: setup issue

Posted: Mon Sep 19, 2011 6:09 pm
by nscott
SCW,

There it was! In your VMware Player go to Devices > Network Adapter > Connect

That should connect the device. Then do a service network restart, that should give you an IP. The IP it gives will be in the same subnet as the computer its running on, so after the service network restart do an ifconfig and try and connect to whatever IP it gives back.

Re: setup issue

Posted: Tue Sep 20, 2011 3:02 am
by SCW
Thanks for that i think we are getting there but it's still giving me the same issue. It did connect fine and i did the restart and checked the ip i get the same issue when i do http://127.0.0.1 as when i use the ip from the vmware network card that i can access from my 2003 server.

what's next :-)

Re: setup issue

Posted: Tue Sep 20, 2011 11:08 am
by nscott
SCW,

Can you confirm that you're not using DHCP. Based on the screenshot of your Windows VM it doesn't look like you are. If you are not using DHCP and need to define a static IP we can do that but I'd like you to confirm that you are in face not using DHCP.

Re: setup issue

Posted: Tue Sep 20, 2011 11:40 am
by SCW
Hi,

I'm not too sure about DHCP, does the attached file help?

Re: setup issue

Posted: Tue Sep 20, 2011 4:30 pm
by lmiltchev
SCW,

When you go to your Virtual Machine Settings, what does it say about your Network Adapter - "Bridged" or "NAT". It it is "NAT", change it to "Bridged", and try again. You may still have to run:

Code: Select all

service network restart
Check to see what kind of IP are you getting with:

Code: Select all

ifconfig
Hope this helps.

Re: setup issue

Posted: Wed Sep 21, 2011 4:19 am
by SCW
I have now resolved this, thanks for your help.

By setting the network settings from bridge to NAT then restarting the network service. Now i just have to figure out how to use it :-)

Thanks again.

Re: setup issue

Posted: Wed Sep 21, 2011 9:51 am
by lmiltchev
Great! I'm glad I could help! Thanks for the feedback!