Moving from CentOS to Ubuntu or fresh install?
Moving from CentOS to Ubuntu or fresh install?
Hi all, was wondering what's the general advice regarding moving an existing NagiosXI installation from CentOS to Ubuntu.
Would it be easier/best to:
A) Move the installation from CentOS to Ubuntu
B) Install from scratch on Ubuntu and move the data only
In the best case can any of the mods point me on the right direction of documentation regarding which steps to follow?
Would it be easier/best to:
A) Move the installation from CentOS to Ubuntu
B) Install from scratch on Ubuntu and move the data only
In the best case can any of the mods point me on the right direction of documentation regarding which steps to follow?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: Moving from CentOS to Ubuntu or fresh install?
We do not support Nagios XI on Ubuntu:
http://support.nagios.com/wiki/index.ph ... tributions
If you did this, you would be on your own, in regards to support.
http://support.nagios.com/wiki/index.ph ... tributions
If you did this, you would be on your own, in regards to support.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Moving from CentOS to Ubuntu or fresh install?
Damn, was expecting NagiosXI to be distro-independent now that's a stab in the heart...
Any predictions in to when this could be supported? I guess I'll have to stick with CentOS on that box then although all our other machines will be migrated to Ubuntu, great Nagios.. Great..
Any predictions in to when this could be supported? I guess I'll have to stick with CentOS on that box then although all our other machines will be migrated to Ubuntu, great Nagios.. Great..
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Moving from CentOS to Ubuntu or fresh install?
As of right now, it has at most been "discussed", I would not expect to see an Ubuntu distribution in the very near future, however, longer term one is likely to emerge.
Re: Moving from CentOS to Ubuntu or fresh install?
Ok, going back to the original question now on centos, what do i need to migrate from one machine to the new install? any pointers?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Moving from CentOS to Ubuntu or fresh install?
Here is our doc on backing up and restoring
http://library.nagios.com/library/produ ... -nagios-xi
One thing to note is that the doc references .zip files but newer versions of XI may use .tar.gz files.
http://library.nagios.com/library/produ ... -nagios-xi
One thing to note is that the doc references .zip files but newer versions of XI may use .tar.gz files.
Re: Moving from CentOS to Ubuntu or fresh install?
Code: Select all
[root@host ~]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m
[root@host ~]# uname -a
Linux host 2.6.32-279.9.1.el6.x86_64 #1 SMP Tue Sep 25 21:43:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@host ~]# arch
x86_64
[root@host ~]# /usr/local/nagiosxi/scripts/restore_xi.sh /root/1350401907.tar.gz
arch: invalid option -- 'm'
Try `arch --help' for more information.
Error detecting architecture.
[...] Removed the -m manually [...]
[root@host ~]# /usr/local/nagiosxi/scripts/restore_xi.sh /root/1350401907.tar.gz
Error detecting architecture.
[...] Removed the whole case check and it worked kind of... [...]
Starting ndo2db:/usr/local/nagios/bin/ndo2db: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
done.
Starting nagios: done.
===============
RESTORE COMPLETE
===============Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Moving from CentOS to Ubuntu or fresh install?
I'm sorry about that, that is a bug you found.
if you can edit /usr/local/nagiosxi/scripts/restore_xi.sh changing line 35 from
to
This should resolve it, and you should be able to run it.
We have this fixed for the next release.
if you can edit /usr/local/nagiosxi/scripts/restore_xi.sh changing line 35 from
Code: Select all
arch=$(arch -m)Code: Select all
arch=$(uname -m)We have this fixed for the next release.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Moving from CentOS to Ubuntu or fresh install?
As for the libmysqlclient.so.18 error, this machine does have Nagios XI installed on it already right?
Re: Moving from CentOS to Ubuntu or fresh install?
yes it does have it installed, it's a brand new kvm guest
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk