Skip to main content
Version: 24.04

Time periods

Definition

Time periods define a time interval for each day of the week. They enable the functionality of the scheduler over a given period of time. They apply to two types of actions:

  • The execution of check commands
  • The sending of notifications.

Configuration

To configure a time period, go to Configuration > Users > Time periods.

  1. In the Time Period Name and Alias fields, enter a name and a description.

  2. In the Basic settings section, for each day of the week, define the time periods during which the checks and notifications will be enabled. (Use the syntax described below.)

    • These definitions are applied every week, indefinitely.
    • If you leave the field blank for a specific day, there will be no monitoring on that day for actions to which this time period is applied.
  3. Use the Time Range Exceptions tab to include days that would not normally belong to the time period.

  4. Once you have created your time period, you can use it:

    • In the Check Period field for hosts, host templates, services and service templates.
    • In the Notification Period field for notifications defined for hosts, host templates, services, service templates, contacts, or in the Escalation Period field for an escalation of notifications.

Syntax of a time period

Use the following characters to define time periods:

  • The character “:” separates the hours from the minutes, e.g.: HH:MM
  • The character “-” indicates continuity between two time periods
  • The character ”,” separates two time periods

Here are a few examples:

  • 24 hours a day and 7 days a week: 00:00-24:00 (to be applied to every day of the week).
  • From 8 AM to noon and from 2 PM to 6:45 PM on weekdays: 08:00-12:00,14:00-18:45 (to be applied to weekdays only).
  • To not monitor during a whole day, leave the corresponding field blank.

image

Time Range Exceptions tab

The Time Range Exceptions tab allows you to include exceptional days in the time period. The periods you define here override the definition of regular days defined in Basic Settings.

Example: An administrator wants to define a time period which covers the times when the offices are closed, i.e.:

  • From 6 PM to 7:59 AM on weekdays
  • Around the clock on weekends
  • National holidays and exceptional closure days.

To be able to define the national holiday days and the exceptional closure days, it is necessary to use exceptions.

To add an exception, in the Exceptions field, click Add new entry. For each exceptional day, you will need to define a time period.

Use the following syntax to exclude whole days from the monitoring: 00:00-00:00.

The table below shows some possible examples:

Day(s)Time periodMeaning
january 100:00-24:00All day on the 1st of January, every year.
2014-02-1000:00-24:00All day on 10 February 2014
july 1 - august 100:00-24:00All day, every day from July 1 to August 1, every year
november 3008:00-19:00From 08h00 to 19h00 every November 30, every year
day 1 - 2000:00-24:00All day from the 1st to the 20th of every month
saturday -108:00-12:00,14:00-18:45Every last Saturday of the month during opening hours
monday -200:00-24:00All day every second to last Monday of the month
june 6 - june 2100:00-00:00Do not monitor all day, every day from June 6th to the 21st
june 1200:00-08:00,18:00-24:00Monitor every June 12th, except between 08h00 and 18h00

Exceptions are not taken into account in BAM, and in reports concerning BAM in MBI.