Page 1 of 1
IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 1:07 am
by pesteiner
Hello,
I have downloaded the newest Nagiosxi VMWare. When I login as ´root´ I
do not get any ip address by using the command ifconfig. Please tell me
what to do .....
In the tutorial video the ip address is supposed to be 192.168.1.14.
Output of "ifconfig eth0" is:
Linkencap:Ethernet HWaddr 00:0C:29:8D:F=:74
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 140 errors, ......
TX packets: 53 errors
.......
Thanks!
Peter
Re: IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 5:13 am
by perius
Try
ifconfig eth0 up
to set the interface in active
then /etc/init.d/network restart if necesary
Re: IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 6:23 am
by pesteiner
Thanks perius, now it looks different but I still have problems, please see attachment ....
Re: IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 7:05 am
by perius
Have set a static IP? Nagios xi trial is set to get its Ip from DHCP. How does it look in /etc/network/interfaces ?
Re: IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 7:56 am
by pesteiner
Hi perius,
I managed it now. In the VMWare settings I had to set Network Adapter to "NAT: Used to share the host's IP address" and now it is working.
Thanks for your thought-provoking impulses.
Re: IP address Nagiosxi VMWare
Posted: Thu Mar 25, 2010 9:53 am
by tonyyarusso
In the tutorial video the ip address is supposed to be 192.168.1.14.
That's just what the IP address of the machine being used for the example was - nothing's "supposed" to be anything here. As perius mentioned it's set up to use DHCP, so it will be whatever fits your network. This of course means that for anyone not using DHCP on their network you will need to set it manually, which in CentOS can be done by editing /etc/sysconfig/network-scripts/ifcfg-eth0
(not /etc/network/interfaces as in Debian/Ubuntu). Additionally, for those not familiar with the Linux command line, if your machine fails to get a DHCP lease initially for some reason but you then fix the root problem, you can re-request a lease with
.
Glad you got it working with the VMware settings.