Page 1 of 2

Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Fri Jun 06, 2014 2:46 am
by igsadmin
Hi Guys,

I'm trying to upgrade from Nagios XI 2012R2.0 to Nagios XI 2014R1.1, but I'm getting the error below,
*** Exfoliation theme installed ***
NOTE: Use 'make install-classicui' to revert to classic Nagios theme

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6'
make install-basic
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives
/usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/spool/checkresults
chmod g+s /usr/local/nagios/var/spool/checkresults

*** Main program, CGIs and HTML files installed ***

You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):

make install-init
- This installs the init script in /etc/rc.d/init.d

make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file

make install-config
- This installs sample config files in /usr/local/nagios/etc

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6'
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
Anyone can help what is the problem?

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Fri Jun 06, 2014 3:06 am
by anil_kumarv
Try running the Nagios config check and see where it fails, which config is it complaining about.

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Fri Jun 06, 2014 3:43 am
by igsadmin
anil_kumarv wrote:Try running the Nagios config check and see where it fails, which config is it complaining about.
Hi, I managed to delete the ghost services, now I run the upgrade again, I got another error...
NDOUTILS POST-UPGRADE...
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
Removing depricated failure_prediction_enabled from NagiosQL
Current database version: 1.5.2
** DB upgrade required for 2.0.0
Using mysql-upgrade-2.0.0.sql for upgrade...
ERROR 1194 (HY000) at line 3: Table 'nagios_notifications' is marked as crashed and should be repaired
Upgrade from mysql-upgrade-2.0.0.sql failed at ./upgradedb line 106.
The database cannot be upgrade, any idea?

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Fri Jun 06, 2014 9:11 am
by scottwilkerson
You have corrupt database tables. To fix run:

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosql
then try the upgrade again

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Sat Jun 07, 2014 11:47 am
by igsadmin
scottwilkerson wrote:You have corrupt database tables. To fix run:

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosql
then try the upgrade again
Hi, after I repaired the sql.. upgrade successful... Appreciate for your help..

By the way, Is there any common issues reported Nagios XI 2014 R1.1 got problem?? This release is it stable?

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Mon Jun 09, 2014 9:15 am
by tmcdonald
This release and 1.0 are to be considered stable, yes. Most of what we have been seeing in 1.0 is either related to pre-existing misconfigurations, plugin output changes, or other wizard/component fixes we were able to get patches out for quickly.

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Mon Jun 09, 2014 9:54 am
by igsadmin
tmcdonald wrote:This release and 1.0 are to be considered stable, yes. Most of what we have been seeing in 1.0 is either related to pre-existing misconfigurations, plugin output changes, or other wizard/component fixes we were able to get patches out for quickly.
By the way, after I upgraded to R1.1
I got 3 hosts with services having issues, I have to re configure it..
Now is getting back to normal...

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Mon Jun 09, 2014 10:23 am
by slansing
Great, let us know if you run into upgrade related issues. We'll keep the thread open for a bit.

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Mon Jun 09, 2014 10:27 am
by igsadmin
slansing wrote:Great, let us know if you run into upgrade related issues. We'll keep the thread open for a bit.
Ok sure..
Another concern is the search textfield is missing from the home page left hand side bar....
That search textfield is quite useful.. unfortunately the search textfield take out from the new release...
Hope Nagios XI can consider to add the search bar again.

Re: Upgrade from Nagios XI 2012R2.9 to Nagios XI 2014R1.1

Posted: Mon Jun 09, 2014 10:33 am
by lmiltchev
The "Search" bar was moved to the black bar on top, where you have all of the other menus. You can see it and use it from each page you are on in XI.
example01.PNG