Accessing Nagios after Hyper V upgrade
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Accessing Nagios after Hyper V upgrade
Our HyperV enviroment was upgraded last night after importing the Nagios VM over to HyperV 2012 and booting the computer up. It no longer has a way to to access via the web. It shows the correct information when I look at the config for eth0. When I do an ifconfig it only shows the loopback address though. Any ideas on how to get Nagios to see that adaptor?
Re: Accessing Nagios after Hyper V upgrade
What OS is this? How about a service network status?
Former Nagios Employee.
me.
me.
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Re: Accessing Nagios after Hyper V upgrade
CENTOS and
Configured devices
lo eth0
Currently Active devices
lo
Configured devices
lo eth0
Currently Active devices
lo
Re: Accessing Nagios after Hyper V upgrade
What's inside of the /etc/sysconfig/network-scripts/eth0 file?lance.peterson wrote:CENTOS and
Configured devices
lo eth0
Currently Active devices
lo
Former Nagios Employee.
me.
me.
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Re: Accessing Nagios after Hyper V upgrade
when I type "vi /etc/sysconfig/network-scripts/eth0" it says [new file]????
Re: Accessing Nagios after Hyper V upgrade
That's because I told you to type the wrong thing.lance.peterson wrote:when I type "vi /etc/sysconfig/network-scripts/eth0" it says [new file]????
/etc/sysconfig/network-scripts/ifcfg-eth0 was what I should have typed.
Sorry about that!
Former Nagios Employee.
me.
me.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Accessing Nagios after Hyper V upgrade
It might be possible that the mac address of the NIC has changed. It would be defined in:
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Re: Accessing Nagios after Hyper V upgrade
Yes it has changed as it moved machines. Do I just change the MAC address then?
Re: Accessing Nagios after Hyper V upgrade
If it doesn't match, you're going to need to.lance.peterson wrote:Yes it has changed as it moved machines. Do I just change the MAC address then?
Former Nagios Employee.
me.
me.
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Re: Accessing Nagios after Hyper V upgrade
Whats the best way to make that change?