SQL Table errors noticed during upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

SQL Table errors noticed during upgrade

Post by Box293 »

I just upgraded from 2009R1.4B to 2011R1.1 (VMware VM running on ESXi 4.1 U1).

During the upgrade I noticed SQL errors about some tables as being marked crashed and the last repair failed.

I am wondering what it is about.

The upgrade completed OK and all seems good.

Screenshot hopefully explains the problem.
Alter Table Error.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SQL Table errors noticed during upgrade

Post by Box293 »

It seems some other problem is also occurring. The system seems to stop doing stuff but becomes very slow.

For example if I look at the dashlet Monitoring Engine Event Queue, Scheduled Events Over Time show nothing for the next 5+ minutes.
nagiosxi no scheduled events over time.png
Also the XI System Component Status shows Event Data, Command Subsystem, Event Manager, Report Engine all have a red ! mark.
system component status.png
The only thing I can do to fix the problem is to shutdown the Nagios XI VM and then power it back on. This has happened a couple of times now, it runs fine for a while but then needs a full shutdown / power on to get it working again.

Any ideas?
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: SQL Table errors noticed during upgrade

Post by tonyyarusso »

We recently put together some documentation that should be relevant to this:
http://library.nagios.com/library/produ ... i-database
http://library.nagios.com/library/produ ... timization
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SQL Table errors noticed during upgrade

Post by Box293 »

Excellent. I ended up needing to do the truncate steps before it was happy again.

FYI the link to the Repairing document is incorrect, it has a spelling mistake (a capital N)

Code: Select all

http://assets.nagios.com/downloads/nagiosxi/docs/NRepairing_The_Nagios_XI_Database.pdf
it should be

Code: Select all

http://assets.nagios.com/downloads/nagiosxi/docs/Repairing_The_Nagios_XI_Database.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: SQL Table errors noticed during upgrade

Post by tonyyarusso »

Ah, good. Fixed the link - thanks for the heads-up on that.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked