Setting up Nagios XI on VM with DHCP
-
nagiosmits
- Posts: 5
- Joined: Wed Jun 01, 2016 11:29 am
Setting up Nagios XI on VM with DHCP
I am currently having an issue with NagiosXI on our network via the VMWare instance. I am not able to communicate with devices on my network and the root cause is that the instance (which is configured via Bridged Adapter) is not being issued an IP address for us to communicate with via DHCP. Would that be a CentOS issue or something that I could configure within Nagios XI itself?
I am using the VMWare 64-bit instance (which uses CentOS 6.7) with VirtualBox Version 5.0.20 r106931
I am using the VMWare 64-bit instance (which uses CentOS 6.7) with VirtualBox Version 5.0.20 r106931
Re: Setting up Nagios XI on VM with DHCP
What is the output of ifconfig? It should be set to pick up a DHCP address by default.
Former Nagios Employee
-
nagiosmits
- Posts: 5
- Joined: Wed Jun 01, 2016 11:29 am
Re: Setting up Nagios XI on VM with DHCP
I'm not getting any IPv4 being assigned to the guest OS using the setup described in the first post
You do not have the required permissions to view the files attached to this post.
Re: Setting up Nagios XI on VM with DHCP
It looks like you're getting an IPv6 address. Can you post a screenshot of your 'Network' tab from Virtualbox?
Former Nagios Employee
-
nagiosmits
- Posts: 5
- Joined: Wed Jun 01, 2016 11:29 am
Re: Setting up Nagios XI on VM with DHCP
Yes I am just not receiving an IPv4 address.
You do not have the required permissions to view the files attached to this post.
Re: Setting up Nagios XI on VM with DHCP
At first you said the adapter was bridged, but now it looks like it's a 'host-only adapter'. This will stop any communication with your DHCP server as the network is limited between you and the VM.
Try changing it to bridged, and see if you're able to communicate with DHCP at that point.
Try changing it to bridged, and see if you're able to communicate with DHCP at that point.
Former Nagios Employee
-
nagiosmits
- Posts: 5
- Joined: Wed Jun 01, 2016 11:29 am
Re: Setting up Nagios XI on VM with DHCP
Yes, my apologies I have been trying other network types to enable it to communicate on my network but when I had sent the first screen shot with the command the VM's NIC was in Bridged Adapter Mode. The only configuration with which I can communicate with the Nagios VM instance is via the Host-Only Adapter. Is it possible that I would have to configure the VM with the DHCP server that would be delivering the IP Address to the guest OS, or is it that it should be configured right out of the box since by using Bridged Adapter I am already using the NIC on the physical box which would be able to communicate with the DHCP server in question to deliver the guest OS with an IP?
Code: Select all
ifconfigRe: Setting up Nagios XI on VM with DHCP
Did you reboot the machine after changing the network adapter type?
Former Nagios Employee
Re: Setting up Nagios XI on VM with DHCP
Can you run the following command and show us the output?
Code: Select all
cat /etc/sysconfig/network-scripts/ifcfg-eth0Be sure to check out our Knowledgebase for helpful articles and solutions!
-
nagiosmits
- Posts: 5
- Joined: Wed Jun 01, 2016 11:29 am
Re: Setting up Nagios XI on VM with DHCP
Yes I did reboot the machine after changing the network adapter typeDid you reboot the machine after changing the network adapter type?
Can you run the following command and show us the output?
cat /etc/sysconfig/network-scripts/ifcfg-eth0
You do not have the required permissions to view the files attached to this post.