Unable to find IP address for Web UI
Unable to find IP address for Web UI
Hi,
I have installed nagiosxi using the virtual machine and changed the login credentials. When I run "ifconfig" I do not get an IP address. I tried changing to a static IP address using this video http://www.youtube.com/watch?v=0tZcrM4rpqY but the static IP did not work when I typed it into the browser.
Any advice would be greatly appreciated.
I have installed nagiosxi using the virtual machine and changed the login credentials. When I run "ifconfig" I do not get an IP address. I tried changing to a static IP address using this video http://www.youtube.com/watch?v=0tZcrM4rpqY but the static IP did not work when I typed it into the browser.
Any advice would be greatly appreciated.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to find IP address for Web UI
I would follow this guide here:
http://www.cyberciti.biz/faq/linux-conf ... -tutorial/
It is thorough, also keep in mind to switch from static to DHCP just change the BOOTPROTO= to DHCP
http://www.cyberciti.biz/faq/linux-conf ... -tutorial/
It is thorough, also keep in mind to switch from static to DHCP just change the BOOTPROTO= to DHCP
Re: Unable to find IP address for Web UI
Thank you for your reply. I believe i have the static ip address configured. When i try "wget [new ip address]" on the virtual machine i get an index.html page that looks like a nagios page.
However, I am unable to access the virtual box (CentOS) from the host (Windows Server 2008). Pinging the new IP address of the virtual box from the host times out and telnet to port 80 gives "connect failed". I tried turning off both firewalls (iptables -F on the virtual box and windows firewall on the host) with no success.
Any suggestions?
Thanks again
However, I am unable to access the virtual box (CentOS) from the host (Windows Server 2008). Pinging the new IP address of the virtual box from the host times out and telnet to port 80 gives "connect failed". I tried turning off both firewalls (iptables -F on the virtual box and windows firewall on the host) with no success.
Any suggestions?
Thanks again
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to find IP address for Web UI
Can you share what your ifconfig outputs? If it is an internal local IP it should not be confidential. Is apache running?
How are you defining the nagios server's web UI URL in your browser?
Code: Select all
service httpd statusRe: Unable to find IP address for Web UI
ifconfig gives the following
inet addr of 192.169.21.2 Bcast:192.168.21.255 Mask 255.255.255.0
httpd status is running
I also tried setting the ip to 192.169.21.1 which is the private ip listed for "VMware Network Adapter VMnet1" which showed up in my "Network and Sharing Center" on the Windows host. When i did this i was able to ping but still got "connect failed" when i tried to telnet to port 80.
When I try to open the UI in the browser i try both http://192.168.21.1/nagiosxi and http://192.168.21.1/
inet addr of 192.169.21.2 Bcast:192.168.21.255 Mask 255.255.255.0
httpd status is running
I also tried setting the ip to 192.169.21.1 which is the private ip listed for "VMware Network Adapter VMnet1" which showed up in my "Network and Sharing Center" on the Windows host. When i did this i was able to ping but still got "connect failed" when i tried to telnet to port 80.
When I try to open the UI in the browser i try both http://192.168.21.1/nagiosxi and http://192.168.21.1/
Re: Unable to find IP address for Web UI
Can you open a terminal to your VM, type the following command, and show us the output:
Code: Select all
ifconfigBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to find IP address for Web UI
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to find IP address for Web UI
The IP address is 192.168.21.2
Re: Unable to find IP address for Web UI
Yes, sorry for the confusion I have been trying both 192.168.21.2 and 192.168.21.1. When the ip is set to 192.168.21.2 i am unable to ping, telnet or reach the UI via a browser on the host. When it is set to 192.168.21.1 i can ping but not telnet or reach the UI in a browser. Both times I restart both eth0 using
ifdown eth0
ifup eth0
and httpd using
service httpd restart
after changing the static IP of the virtual machine
ifdown eth0
ifup eth0
and httpd using
service httpd restart
after changing the static IP of the virtual machine
Re: Unable to find IP address for Web UI
What happens when you type:
in the browser's address bar and hit "Enter"?
Code: Select all
http://192.168.21.2/nagiosxiBe sure to check out our Knowledgebase for helpful articles and solutions!