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.
Migrate Nagios VMWare --> Azure
-
swolf
Re: Migrate Nagios VMWare --> Azure
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.
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
Much appreciated, thank you!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Migrate Nagios VMWare --> Azure
May we mark this thread resolved?rkane wrote:Much appreciated, thank you!
Re: Migrate Nagios VMWare --> Azure
Sounds good, please do!scottwilkerson wrote:May we mark this thread resolved?rkane wrote:Much appreciated, thank you!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Migrate Nagios VMWare --> Azure
rkane wrote:Sounds good, please do!scottwilkerson wrote:May we mark this thread resolved?rkane wrote:Much appreciated, thank you!
Locking thread