Zabbix Documentation 2.4

2.23.04.0 (current)In development:4.2 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

manual:appendix:time_period

7 Setting time periods

1 Format

To set a time period, the following format has to be used:

d-d,hh:mm-hh:mm

You can specify more than one time period using a semicolon (;) separator:

d-d,hh:mm-hh:mm;d-d,hh:mm-hh:mm...

2 Description

Symbol Description
d Day of the week: 1 - Monday, 2 - Tuesday ,… , 7 - Sunday
hh Hours: 00-24
mm Minutes: 00-59

3 Default

Empty time period specification equals 01-07,00:00-24:00, which is the default value.

The upper limit of a time period is not included. Thus, if you specify 09:00-18:00 the last second included in the time period is 17:59:59. This is true starting from version 1.8.7, for everything, while Working time has always worked this way.

4 Examples

Working hours. Monday - Friday from 9:00 till 18:00:

1-5,09:00-18:00

Working hours plus weekend. Monday - Friday from 9:00 till 18:00 and Saturday, Sunday from 10:00 till 16:00:

1-5,09:00-18:00;6-7,10:00-16:00