Page 1 of 1

Nagios Core 3.5.1 to 4.4.5 Upgrade - Ubuntu 18.04.3

Posted: Mon Oct 14, 2019 11:03 pm
by Sankarn
Hi Nagios team,

Could anyone guide me to upgrade the Nagios version 3.5.1 to nagios-4.4.5 without affecting any existing configuration.

Below is version details:
ubuntu@nagios-3:~$ which nagios3
/usr/sbin/nagios3
ubuntu@nagios-3:~$ /usr/sbin/nagios3 --help

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013



Regards,
Sankar

Re: Nagios Core 3.5.1 to 4.4.5 Upgrade - Ubuntu 18.04.3

Posted: Tue Oct 15, 2019 11:03 am
by benjaminsmith
Hello @Sankar,

Here are the instructions for upgrading Nagios Core. You'll want to make appropriate backups of your configurations and/or take a VM snapshot so you can roll back easily.

How to Upgrade Nagios Core

Re: Nagios Core 3.5.1 to 4.4.5 Upgrade - Ubuntu 18.04.3

Posted: Tue Oct 15, 2019 11:55 pm
by Sankarn
Hi Benjamin,

Here i am trying to upgrade a Nagios which is running on Openstack PODs. Its not a VM.

What are configurations need to be backed up.

We had backed up
/etc/nagios3
/etc/postfix
/usr/lib/cgi-bin/nagios3
/usr/share/nagios3/htdocs
/etc/nagios3/apache2.conf
/var/log/nagios3

Regards,
Sankar

Re: Nagios Core 3.5.1 to 4.4.5 Upgrade - Ubuntu 18.04.3

Posted: Wed Oct 16, 2019 10:01 am
by benjaminsmith
Hello Sankar,

I'm not familiar with that directory structure. Typically, everything will be found in the /usr/local/nagios folder. If you just want to backup the object configurations, those are found in /usr/local/nagios/etc folder.