Scheduling a check

Spencer Horn shorn at lssi.net
Wed Apr 28 16:12:56 CEST 2004


Define your time in the timeperiods.cfg file then add it to the service 
in your services file.


# '24x7' timeperiod definition
define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week
        sunday          00:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }


                               check period name.
check_period                   24x7

Spencer


Reuben Pearse wrote:

> Hi all,
>
> How do I configure a check to run at a particular time (as opposed to 
> every "n" minutes). I want to be able to check that an NT backup has 
> run on a server at 9am every morning. I am planning to use NTsyslog to 
> send the Event Logs from the server to the syslog daemon running on 
> the Nagios server and then do a scheduled check to query the syslog 
> for the NT backup success event.
>
> Thanks in advance
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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