Service checks keep postponing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Service checks keep postponing

Post by tgriep »

Could you run the following command and post the output here?

Code: Select all

ll /usr/local/nagios/var/
Be sure to check out our Knowledgebase for helpful articles and solutions!
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Re: Service checks keep postponing

Post by rkymtnhigh »

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

Re: Service checks keep postponing

Post by jdalrymple »

Are there any ugly messages in /var/log/mysqld.log?
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Re: Service checks keep postponing

Post by rkymtnhigh »

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

Re: Service checks keep postponing

Post by abrist »

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:

Code: Select all

tail -25 /var/log/mysqld.log
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

Re: Service checks keep postponing

Post by rkymtnhigh »

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 :cry:
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Service checks keep postponing

Post by jdalrymple »

Code: Select all

/etc/init.d/nagios stop
/etc/init.d/ndo2db restart
/etc/init.d/nagios start
or maybe even

Code: Select all

reboot
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Re: Service checks keep postponing

Post by rkymtnhigh »

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

Re: Service checks keep postponing

Post by jdalrymple »

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

Re: Service checks keep postponing

Post by rkymtnhigh »

Hardly any events since the reboot yesterday
You do not have the required permissions to view the files attached to this post.
Locked