##
## Copyright 1999-2009 Ethan Galstad
## Copyright 2011-2013 Merethis
##
## This file is part of Centreon Engine.
##
## Centreon Engine is free software: you can redistribute it and/or
## modify it under the terms of the GNU General Public License version 2
## as published by the Free Software Foundation.
##
## Centreon Engine is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Centreon Engine. If not, see
## <http://www.gnu.org/licenses/>.
##

# file:  timeperiods.cfg
# brief: Sample timeperiod definitions.
#
# notes: This config file provides you with some example timeperiod definitions
#        that you can reference in host, service, contact, and dependency
#        definitions.
#
#        You don't need to keep timeperiods in a separate file from your other
#        object definitions.  This has been done just to make things easier to
#        understand.


# info:  Time periods.
# brief: 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
  sunday          00:00-24:00
  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
}

# 'workhours' timeperiod definition
define timeperiod{
  timeperiod_name  workhours
  alias            Normal Work 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
}

# 'none' timeperiod definition
define timeperiod{
  timeperiod_name  none
  alias            No Time Is A Good Time
}