Page 1 of 1

Monthly Check

Posted: Thu Mar 03, 2011 12:34 pm
by EricAiken
I'm looking for a way to create a check on the 1st of the month that monitors a batch job.
I have the scripts to do the check, just can't figure out a way to schedule it to run once on the 1st of each month

Any ideas?

Re: Monthly Check

Posted: Thu Mar 03, 2011 4:44 pm
by rdedon
Hello Eric,
you will want to edit the timeperiods.cfg in /usr/local/nagios/etc/objects

Code: Select all

# 'monthly' timeperiod definition
define timeperiod{
        timeperiod_name monthly
        alias           Monthly Batch Job Monitor
        day 1           09:00-09:05
        }
This is just an example and you can of course change the times and names as long as "day 1" is there.