Migrating to Centos from Ubuntu Server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Migrating to Centos from Ubuntu Server

Post by nathanplatt »

Hi Guys,

I've spent a lot of time configuring Nagios and Graphs on Ubuntu but I want to look at Log Server as well, looking at it I can see that the manual install is set for Centos, so I was considering migrating the whole server to Centos.

Is it difficult to move everything, or is it as simple as compressing the following folders and moving them onto the new machine;

/usr/local/nagios
/usr/local/nagiosgraphs
/etc/apache2/

What are your thoughts? Or is there a way to install Log Server on Ubuntu?
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Migrating to Centos from Ubuntu Server

Post by nozlaf »

depends on how much you have done in your existing installation but generally just doing a fresh install in centos then copying the config from the old install to the new install will work
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Migrating to Centos from Ubuntu Server

Post by rkennedy »

Currently Ubuntu is not supported as an OS for NLS. With that said, running Nagios Core and Nagios Log Server on the same server isn't reccomended either.

As for the migration - compile a new system with Core running, and then add in your configuration files. It shouldn't be too painful as long as you have some sort of organization in place for your definitions.
Former Nagios Employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Migrating to Centos from Ubuntu Server

Post by nathanplatt »

Great thank you guys, you can close this thread
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Migrating to Centos from Ubuntu Server

Post by bwallace »

Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked