Moving Nagios to a new esxi server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Moving Nagios to a new esxi server

Post by SavaSC »

Hello,

With the release of NagiosXI v.5.4.4 we can no longer use our CentOS 5x boxes to host Nagois. Since upgrading major versions is frowned upon by CentOS, we are looking to create a new server to which we will migrate Nagios.

After doing some research on the best way to do this, I came across that y'all have a version of NagiosXI as a pre-build VM for VMware. I have some questions about this.

I read where, for Linux, I would simply do a backup on the old NagiosXI box and a restore on the new one to set up my new Nagios instance. Does this also work on the VMware version? Can I even go from the Linux version to the VMware version?

I'm about to go on vacation so it will be next week before I'm able to respond.

Thanks for the help!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Moving Nagios to a new esxi server

Post by mcapra »

We do have this documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

But moving from Cent5 to Cent6 (which is what our VMs use) will likely come with it's own problems. Mostly with compiled plugins. There is no "VMWare" version really; It's just a pre-built VM that had our fullinstall script run on it. Not much different than if you were to build your own VM and run fullinstall.
Former Nagios employee
https://www.mcapra.com/
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Moving Nagios to a new esxi server

Post by SavaSC »

Thanks for your response and the information. I have read the documentation you linked to.
mcapra wrote: But moving from Cent5 to Cent6 (which is what our VMs use) will likely come with it's own problems. Mostly with compiled plugins.
This raises some other questions.
1) Is NagiosXI not approved for Cent7?
2) Is there a way to determine what plugins will break before hand?

Thank you.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Moving Nagios to a new esxi server

Post by mcapra »

SavaSC wrote:1) Is NagiosXI not approved for Cent7?
Nagios XI is approved for Cent7. My only point was that plugins compiled against Cent5 will likely not work on a Cent7 machine. You would need to re-compile those plugins.
SavaSC wrote:2) Is there a way to determine what plugins will break before hand?
Pretty much any plugins that are compiled C code. This includes most of the nagios-plugins package:
https://github.com/nagios-plugins/nagios-plugins

Interpreted plugins (written in Bash, PHP, Perl, Python, etc) should be fine.
Former Nagios employee
https://www.mcapra.com/
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Moving Nagios to a new esxi server

Post by SavaSC »

mcapra wrote:
SavaSC wrote:1) Is NagiosXI not approved for Cent7?
Nagios XI is approved for Cent7. My only point was that plugins compiled against Cent5 will likely not work on a Cent7 machine. You would need to re-compile those plugins.
SavaSC wrote:2) Is there a way to determine what plugins will break before hand?
Pretty much any plugins that are compiled C code. This includes most of the nagios-plugins package:
https://github.com/nagios-plugins/nagios-plugins

Interpreted plugins (written in Bash, PHP, Perl, Python, etc) should be fine.
Thank you for the information.

My manager wishes to know if there is a timeline for releasing the Nagios ESXI pre-built appliance on Cent7? We're trying to decide if it is worth it to wait for that to be released or to go ahead with the Cent6 version.

Thanks again for your help.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Moving Nagios to a new esxi server

Post by dwhitfield »

There is not currently a timeline for changing our downloads.

For clarity, the backup documentation @mcapra sent in his first post covers changing OS versions. Please see page 6 of https://assets.nagios.com/downloads/nag ... ios-XI.pdf for details.

That said, the point is worth reiterating since the script won't know what custom plugins you have. Also, it doesn't account for the situation where you are using pre-built VMs.

Depending on the size of your environment, our pre-builts might be small. If installing from scratch is not an option, then you might want to take a look at https://assets.nagios.com/downloads/nag ... M-Disk.pdf

Installing from scratch is pretty easy: https://assets.nagios.com/downloads/nag ... -Linux.pdf -- people usually only run into trouble if they are doing funky things with security or have other software installed on the server.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Moving Nagios to a new esxi server

Post by SavaSC »

Thank you for your help.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Moving Nagios to a new esxi server

Post by dwhitfield »

Did you have any other questions? If not, is it okay if we lock this thread? Thanks for choosing the Nagios forums!
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Moving Nagios to a new esxi server

Post by SavaSC »

No other questions at this time. Yes, you may lock this thread.

Thank you again for your assistance.
Locked