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?
Monthly Check
Re: Monthly Check
Hello Eric,
you will want to edit the timeperiods.cfg in /usr/local/nagios/etc/objects
This is just an example and you can of course change the times and names as long as "day 1" is there.
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
}