This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Wed Jun 10, 2015 2:22 pm
Could you run the following command and post the output here?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
rkymtnhigh
Posts: 95 Joined: Tue May 12, 2015 11:53 am
Post
by rkymtnhigh » Thu Jun 11, 2015 11:10 am
Sure!
You do not have the required permissions to view the files attached to this post.
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Thu Jun 11, 2015 11:51 am
Are there any ugly messages in /var/log/mysqld.log?
rkymtnhigh
Posts: 95 Joined: Tue May 12, 2015 11:53 am
Post
by rkymtnhigh » Thu Jun 11, 2015 12:06 pm
jdalrymple wrote: Are there any ugly messages in /var/log/mysqld.log?
I think we are getting somewhere. I see tons of "Incorrect key file for table XXX - try to repair it"
Seems to be servicestatus and systemcommands mainly. I did run a table repair before posting, but maybe I need to get more aggressive?
abrist
Red Shirt
Posts: 8334 Joined: Thu Nov 15, 2012 1:20 pm
Post
by abrist » Thu Jun 11, 2015 12:10 pm
Yeah, try to run our full database repair script:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Once complete, wait 10 minutes, check the last check time, and then finally check the mysqld logs again:
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the
Dark Side .
rkymtnhigh
Posts: 95 Joined: Tue May 12, 2015 11:53 am
Post
by rkymtnhigh » Thu Jun 11, 2015 12:33 pm
I'm not seeing any more table errors, in fact I havent gotten any events since I repaired the tables.
Checks still are not running
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Thu Jun 11, 2015 1:28 pm
Code: Select all
/etc/init.d/nagios stop
/etc/init.d/ndo2db restart
/etc/init.d/nagios start
or maybe even
rkymtnhigh
Posts: 95 Joined: Tue May 12, 2015 11:53 am
Post
by rkymtnhigh » Fri Jun 12, 2015 10:45 am
no luck. after rebooting it forced a check which completed successfully (except for those still in pending), but they did not run again.
I really appreciate all the help, this just doesn't look good
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Fri Jun 12, 2015 11:23 am
It's salvageable, always is. Is mysqld.log clean right now? Please look again.
rkymtnhigh
Posts: 95 Joined: Tue May 12, 2015 11:53 am
Post
by rkymtnhigh » Fri Jun 12, 2015 11:30 am
Hardly any events since the reboot yesterday
You do not have the required permissions to view the files attached to this post.