Page 1 of 1

Migrate Nagios VMWare --> Azure

Posted: Thu Dec 06, 2018 8:47 am
by rkane
We're in the process of spinning up some Azure based resources. I'd like to look at migrating our Nagios box from the data center / VMWare out to the cloud. Is there any documentation out there on what it'd take to do that successfully? Hoping to avoid the loss of monitoring when major outages occur inside our network. We had a Compellent failure the other day and my Nagios VM was offline for a period of time.

I'm sure there's stuff out there on migrating a VM from vsphere to Azure, just curious to hear peoples experiences doing this with a Nagios box.

Re: Migrate Nagios VMWare --> Azure

Posted: Thu Dec 06, 2018 11:09 am
by swolf
Hello @rkane,

In general, to migrate to a new server, you can follow this document.

To migrate the server, you'll want to:
1. Run a backup for the server on vSphere,
2. Install Nagios XI on an Azure VM,
3. Transfer the backup to the Azure VM, and
4. Restore the backup there

You'll want to pay particular attention to the "Changed IP Address" section, and possibly the "Changed Operating System Version or Architecture".

I haven't tried to run Nagios XI on Azure, but I did do some work related to running NCPA in that environment. From what I remember, you'll want to be careful about anything using ICMP. Last I checked, you can enable ICMP to work within the Azure environment, but you won't be able to use it with anything outside (like, say, anything on your vSphere server). Basically, you may want to change most of your host checks from check_ping to check_tcp to avoid any conflicts there.

Re: Migrate Nagios VMWare --> Azure

Posted: Fri Dec 07, 2018 8:25 am
by rkane
Much appreciated, thank you!

Re: Migrate Nagios VMWare --> Azure

Posted: Fri Dec 07, 2018 10:23 am
by scottwilkerson
rkane wrote:Much appreciated, thank you!
May we mark this thread resolved?

Re: Migrate Nagios VMWare --> Azure

Posted: Fri Dec 07, 2018 10:38 am
by rkane
scottwilkerson wrote:
rkane wrote:Much appreciated, thank you!
May we mark this thread resolved?
Sounds good, please do!

Re: Migrate Nagios VMWare --> Azure

Posted: Fri Dec 07, 2018 10:46 am
by scottwilkerson
rkane wrote:
scottwilkerson wrote:
rkane wrote:Much appreciated, thank you!
May we mark this thread resolved?
Sounds good, please do!

Locking thread