################################################################################ # object config file for Nagios # ################################################################################ ################################################################################ # TIMEPERIOD DEFINITIONS # ################################################################################ # This defines a timeperiod where all times are valid for checks, # notifications, etc. The classic "24x7" support nightmare. :-) define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week 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 sunday 00:00-24:00 } # 'workhours' timeperiod definition define timeperiod { timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod { timeperiod_name nonworkhours alias Non-Work Hours monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 sunday 00:00-24:00 } define timeperiod { timeperiod_name daytime alias Working Hours and Afternoon monday 09:00-23:50 tuesday 09:00-23:50 wednesday 09:00-23:50 thursday 09:00-23:50 friday 09:00-23:50 saturday 09:00-23:50 sunday 09:00-23:50 } # 'none' timeperiod definition define timeperiod { timeperiod_name none alias No Time Is A Good Time } # vim:ts=8:sw=8