You are here

CRONJOBS WARNING and HOUSEKEEP WARNING

5 posts / 0 new
Last post
youngy
youngy's picture
CRONJOBS WARNING and HOUSEKEEP WARNING

Hi all,

I have already had a bit of a google on this and did not find much info. Bascially at roughly the same time both

Opsview Housekeeping Cronjob Monitor and Opsview Housekeeping Monitor started to go into warning with messages like this respectively.

CRONJOBS WARNING - Housekeeping cronjob has not successfully run for 34 hours

HOUSEKEEP WARNING - Housekeeping script has not successfully run for 34 hours

How do I fix that?

I am using Opsview Core version 3.20131016.0

 

 

youngy
youngy's picture
Re: CRONJOBS WARNING and HOUSEKEEP WARNING

Anyway not making much progress here and the issue has magically resolved itself - go figure!

oho@transtelco.net
oho@transtelco.net's picture
Same problem here, I had to

Same problem here, I had to run this commands as nagios user:

/usr/local/nagios/bin/profile && /usr/local/nagios/bin/opsview_cronjobs

/usr/local/nagios/bin/opsview_master_housekeep

Hope this helps someone else out there, so they don't need to raise a ticket or spend time searching like I did.

oho@transtelco.net
oho@transtelco.net's picture
Same problem here, I had to

Same problem here, I had to run this commands as nagios user:

/usr/local/nagios/bin/profile && /usr/local/nagios/bin/opsview_cronjobs

/usr/local/nagios/bin/opsview_master_housekeep

Hope this helps someone else out there, so they don't need to raise a ticket or spend time searching like I did.

Duncan Ferguson
dferguson's picture
Can you confirm the crontab

Can you confirm the crontab for the nagios user has been populated and the nagios user has not been banned from running cron jobs?

  Duncs