upgrading from 3.4.1 to 4.0.1
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
upgrading from 3.4.1 to 4.0.1
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.
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: upgrading from 3.4.1 to 4.0.1
Close, but you actually want the core 4 documentation on upgrading.
http://nagios.sourceforge.net/docs/nagi ... ading.html
http://nagios.sourceforge.net/docs/nagi ... ading.html
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: upgrading from 3.4.1 to 4.0.1
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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
That is exactly what my thoughts were ... do a source install from scratch, and move configs, or just have him update the RPM!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: upgrading from 3.4.1 to 4.0.1
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.
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.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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!
How hard is it to move from an RPM to source install? I am not finding any new 4.x RPM's!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: upgrading from 3.4.1 to 4.0.1
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.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
Where are the config and historical data located?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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: upgrading from 3.4.1 to 4.0.1
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.