Timeperiod for Services


#1

HI folks,

I would like to know how will I run a nagios check for only once every Monday and Wednesday.

I have prepared this in timeperiod.cfg:

define timeperiod{
        timeperiod_name  twiceAweek
        alias                    every Monday and Wednesday only at 6:00am-6:10am
        monday               06:00-06:10
        wednesday          06:00-06:10
        }

If this correct ? If not, how set time range for once checking only ?

Appreciate much your help on this.