Monthly Check

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
EricAiken
Posts: 1
Joined: Thu Mar 03, 2011 12:32 pm

Monthly Check

Post 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?
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Monthly Check

Post 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.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked