IP address Nagiosxi VMWare

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pesteiner
Posts: 3
Joined: Wed Mar 24, 2010 11:36 pm

IP address Nagiosxi VMWare

Post 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
perius
Posts: 13
Joined: Wed Mar 03, 2010 4:10 am

Re: IP address Nagiosxi VMWare

Post by perius »

Try

ifconfig eth0 up

to set the interface in active

then /etc/init.d/network restart if necesary
pesteiner
Posts: 3
Joined: Wed Mar 24, 2010 11:36 pm

Re: IP address Nagiosxi VMWare

Post by pesteiner »

Thanks perius, now it looks different but I still have problems, please see attachment ....
You do not have the required permissions to view the files attached to this post.
perius
Posts: 13
Joined: Wed Mar 03, 2010 4:10 am

Re: IP address Nagiosxi VMWare

Post 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 ?
pesteiner
Posts: 3
Joined: Wed Mar 24, 2010 11:36 pm

Re: IP address Nagiosxi VMWare

Post 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.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: IP address Nagiosxi VMWare

Post 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

Code: Select all

dhclient eth0
.

Glad you got it working with the VMware settings.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked