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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

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

Post 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?
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

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

Post by anil_kumarv »

Try running the Nagios config check and see where it fails, which config is it complaining about.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

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

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

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

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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.
Former Nagios employee
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

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

Post 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...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post by slansing »

Great, let us know if you run into upgrade related issues. We'll keep the thread open for a bit.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

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

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked