You are here

Crontab housekeeping not running ?

4 posts / 0 new
Last post
intralink's picture
Crontab housekeeping not running ?


Getting warnings in the monitoring that housekeeping has not been run for 50+ hours. Also a red alert on the housekeeping cronjob.

Can't seem to find any information on which (and where) cronjobs for opsview are installed.

Any documentation on that so that I can check what needs to be set up ?

intralink's picture
Re: Crontab housekeeping not running ?

I just noticed that the crons for the "nagios" user contained:


22 2,6,10,14,18,22 * * * . /usr/local/nagios/bin/profile && /usr/local/nagios/bin/opsview_cronjobs 4hourly > /dev/null 2>&1


=> what is that dot doing there after the asterisks ?

=> /usr/local/nagios/bin/profile   was also not executable and had r--r--r-- permissions. I set the +x mode and now it executes.
I guess this shouldn't happen on a pro package, default ubuntu 12.04 install ?

tapan.thapa's picture

Dear Friend,

I also given execute permissions to /usr/local/nagios/bin/profile and now it executes properly.

Do i also need to remove . (DOT) from above cron? so that below error is resolved.

"HOUSEKEEP WARNING - Housekeeping script has never been run"


Tapan Thapa

huyloc_88's picture
Re: Crontab housekeeping not running ?

Please help me error in opsview . I using centos 6.3

CRONJOBS CRITICAL - Housekeeping cronjob has not successfully run for 104 hours

HOUSEKEEP CRITICAL - Housekeeping script has not successfully run for 104 hours