Hi,
I have nagios installed and working great on CentOS 6. My Nagios version is 3.5.1
I was wondering how i can update to the newest version. Do i have to do it in certain steps or can i just update straight from 3.5.1.
Also how can i do this without losing my current configs?
I am also a linux/nagios beginner so any help would be appreciated
Regards
Will
Upgrading from 3.5.1 to 4.0.6
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading from 3.5.1 to 4.0.6
Yep, you can do it safely, all you would essentially be doing is re-compiling Core:
http://assets.nagios.com/downloads/nagi ... Source.pdf
I would of course make backups of your configurations, or any data you feel relevant.
http://assets.nagios.com/downloads/nagi ... Source.pdf
I would of course make backups of your configurations, or any data you feel relevant.
-
willholt89
- Posts: 3
- Joined: Wed May 07, 2014 4:40 am
Re: Upgrading from 3.5.1 to 4.0.6
ok i have followed that guide, but now i get internal server error on any links i click within the nagios web gui.
The homepage states that it is unable to get process results


Please Advise
Will
The homepage states that it is unable to get process results


Please Advise
Will
-
willholt89
- Posts: 3
- Joined: Wed May 07, 2014 4:40 am
Re: Upgrading from 3.5.1 to 4.0.6
Hi,
I have successfully resolved my issue.
The internal server error issue i was having was due to SELinux.
I disabled that using the following command
I then encountered an issue that where nagios didnt have permissions for the /usr/local/nagios/var/rw/ directory.
I rectified this using the following commands
Thank you for your help thus far
Regards
Will
I have successfully resolved my issue.
The internal server error issue i was having was due to SELinux.
I disabled that using the following command
Code: Select all
setenforce 0I rectified this using the following commands
Code: Select all
chown nagios:nagcmd /usr/local/nagios/var/rw
chown nagios:nagcmd /usr/local/nagios/var/rw/nagios.cmdRegards
Will
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading from 3.5.1 to 4.0.6
Excellent! We're going to lock this thread up for now, if you have new questions feel free to open a new thread! Thanks!