Check Service at a specific time...

Gavin Williams gavin.williams at card.co.uk
Tue Apr 28 14:31:05 CEST 2009


Sean, 

Cheers for the recommendation. I got a similar response on the Centreon
support forum... I've implemented a check on this basis, so will see
what it comes back with :) 

Cheers
Gavin


-----Original Message-----
From: Sean McAfee [mailto:smcafee at collaborativefusion.com] 
Sent: 28 April 2009 12:58
To: Gavin Williams
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Check Service at a specific time...

Gavin Williams wrote:
> HI there,
> 
>  
> 
> I've got a requirement to run a service check at a specific time of
day. 
> This is to check a backup log and ensure they have run correctly...
> 
> This check needs to be run at this time each and every day...

I accomplish the same thing with a combination of a severely restricted 
time period:

define timeperiod{
         timeperiod_name oncedaily
         alias           For Running Checks Daily
         monday          08:40-09:00
         tuesday         08:40-09:00
         wednesday       08:40-09:00
         thursday        08:40-09:00
         friday          08:40-09:00
         saturday        08:40-09:00
         sunday          08:40-09:00
         }

The checks that use this have a normal_check_interval of 30 minutes. 
This results in them being scheduled for a single run at 8:40A every
day.

-- 
Sean McAfee
System Engineer




------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list