Page 1 of 5
upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 9:18 am
by vivithemage
Hi!
Can i just follow this guide?
http://nagios.sourceforge.net/docs/3_0/upgrading.html
I just want to get up to date with my nagios, to get some of those newer features.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 11:47 am
by sreinhardt
Close, but you actually want the core 4 documentation on upgrading.
http://nagios.sourceforge.net/docs/nagi ... ading.html
Re: upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 11:54 am
by vivithemage
looks like those were very similiar!
It also looks like the previous admin set this up as an RPM, I am going to have him create me a new RPM, as I don't really know how, LOL.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 12:04 pm
by sreinhardt
That's a good call, or start over with a new box if you decide to go with a source based install. rpm and source installs don't play nice with each other. Let us know if you have troubles!
Re: upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 12:08 pm
by vivithemage
That is exactly what my thoughts were ... do a source install from scratch, and move configs, or just have him update the RPM!
Re: upgrading from 3.4.1 to 4.0.1
Posted: Fri Nov 01, 2013 12:40 pm
by slansing
Either way, source installs are quite easy to work through as well. We have a guide this is literally 3 pages long, and "MAYBE" 10 commands. Also, you know exactly what you are getting that way:
http://assets.nagios.com/downloads/nagi ... Source.pdf
I'm about to update that doc to the latest core 4 version which is 4.0.1, if you wget the tarball before I do, just change the tarball to that.
Edit: Updated.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 10:47 am
by vivithemage
Thanks for that!
How hard is it to move from an RPM to source install? I am not finding any new 4.x RPM's!
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 10:52 am
by slansing
Well you may just be able to download the source and run an upgrade. Of course, I'd recommend as Spenser did, install 4.0.1 on a new system, then move the configurations and historical data over after you are sure it is running properly.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 11:02 am
by vivithemage
slansing wrote:Well you may just be able to download the source and run an upgrade. Of course, I'd recommend as Spenser did, install 4.0.1 on a new system, then move the configurations and historical data over after you are sure it is running properly.
Where are the config and historical data located?
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 11:13 am
by slansing
The configuration files are located where you normally edit/add them, historical data would mainly be the archived nagios logs in the nagios.log directory, and depending on how you run your graphs, where that data is. Whether it be RRDs or another type of data struct.