Accessing Nagios after Hyper V upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Accessing Nagios after Hyper V upgrade

Post by lance.peterson »

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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Accessing Nagios after Hyper V upgrade

Post by hsmith »

What OS is this? How about a service network status?
Former Nagios Employee.
me.
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Accessing Nagios after Hyper V upgrade

Post by lance.peterson »

CENTOS and

Configured devices
lo eth0
Currently Active devices
lo
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Accessing Nagios after Hyper V upgrade

Post by hsmith »

lance.peterson wrote:CENTOS and

Configured devices
lo eth0
Currently Active devices
lo
What's inside of the /etc/sysconfig/network-scripts/eth0 file?
Former Nagios Employee.
me.
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Accessing Nagios after Hyper V upgrade

Post by lance.peterson »

when I type "vi /etc/sysconfig/network-scripts/eth0" it says [new file]????
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Accessing Nagios after Hyper V upgrade

Post by hsmith »

lance.peterson wrote:when I type "vi /etc/sysconfig/network-scripts/eth0" it says [new file]????
That's because I told you to type the wrong thing. :geek:

/etc/sysconfig/network-scripts/ifcfg-eth0 was what I should have typed.

Sorry about that!
Former Nagios Employee.
me.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Accessing Nagios after Hyper V upgrade

Post by Box293 »

It might be possible that the mac address of the NIC has changed. It would be defined in:
/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

Post by lance.peterson »

Yes it has changed as it moved machines. Do I just change the MAC address then?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Accessing Nagios after Hyper V upgrade

Post by hsmith »

lance.peterson wrote:Yes it has changed as it moved machines. Do I just change the MAC address then?
If it doesn't match, you're going to need to.
Former Nagios Employee.
me.
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Accessing Nagios after Hyper V upgrade

Post by lance.peterson »

Whats the best way to make that change?
Locked