Page 1 of 1

DBMaint

Posted: Wed Dec 18, 2013 9:34 am
by BanditBBS
All of a sudden this morning, I keep getting this:

Code: Select all

Service: Nagios XI Jobs
Host: SVCLDNAGIOS01.AEO.AE.COM
Host Description: xiwizard_generic_host
Address: x.x.x.x
State: CRITICAL
Info:
Database Maintenance (dbmaint) stale (742 seconds old)
Date/Time: 2013-12-18 09:32:29
Then I get a recovery and little later that again.....umm, any hints?

Re: DBMaint

Posted: Wed Dec 18, 2013 10:37 am
by abrist
It is probably the dbmaint cron (/etc/cron.d/nagiosxi):

Code: Select all

*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
It runs every 5 minutes. 742 seconds makes it 12 minutes stale. Did load spike on this server? Was a backup running?

Re: DBMaint

Posted: Wed Dec 18, 2013 10:41 am
by BanditBBS
Odd..this is basically a new server not in prod yet, zero users.....interesting. Time to investigate.

Re: DBMaint

Posted: Wed Dec 18, 2013 10:44 am
by abrist
Jolly good, ole gumshoe guv!