Page 1 of 1
Moving Nagios to a new esxi server
Posted: Wed Apr 26, 2017 3:22 pm
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!
Re: Moving Nagios to a new esxi server
Posted: Wed Apr 26, 2017 4:17 pm
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.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 8:33 am
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.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 1:47 pm
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.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 2:00 pm
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.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 2:49 pm
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.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 2:51 pm
by SavaSC
Thank you for your help.
Re: Moving Nagios to a new esxi server
Posted: Tue May 02, 2017 2:54 pm
by dwhitfield
Did you have any other questions? If not, is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: Moving Nagios to a new esxi server
Posted: Thu May 04, 2017 7:14 am
by SavaSC
No other questions at this time. Yes, you may lock this thread.
Thank you again for your assistance.