Home Directory Tutorials Nagios XI Tutorials Changing the XI Virtual Machine Network Configuration

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Changing the XI Virtual Machine Network Configuration

Rating
0 votes
Favoured:
0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Changing the XI Virtual Machine Network Configuration
By default the Nagios XI virtual machine is set to obtain an IP address via DHCP. If you need to use a static IP, or change the DNS name for the machine, you'll need to run a special configuration tool.

To change the virtual machine network configuration settings, follow these steps:

1. Login to the machine as the root user

2. Install the system network configuration TUI

yum install -y system-config-network-tui

3. Run the system network config tool from the command line

system-config-network-tui

The config tool allows you to change the DNS information and network card settings on the virtual machine.

4. Once you've made the appropriate changes in the configuration tool, run these commands from the command line to activate the virtual machine's network card with the updated configuration.

ifdown eth0
ifup eth0

5. You can verify the network settings by using the ifconfig command like this:

ifconfig eth0

That's it!

A quick video that takes you through the process of running the network configuration tool is available below.

Important: If has been observed that sometimes the system-config-network or nmtui tool removes the localhost entries from the /etc/hosts file. In order to fix the issue, edit your /etc/hosts file and make sure there are localhost entries. For example:

127.0.0.1    localhost.localdomain    localhost.localdomain    localhost4    localhost4.localdomain4    localhost    xi-c6x-x64
::1    localhost.localdomain    localhost.localdomain    localhost6    localhost6.localdomain6    localhost    xi-c6x-x64
For more information, review the document below:

https://support.nagios.com/kb/article.php?id=549