32 lines
1.1 KiB
Django/Jinja
32 lines
1.1 KiB
Django/Jinja
###############################################################################
|
|
# ATTENTION!!! FILE MANAGED BY ANSIBLE ROLE NAGIOS
|
|
# TIMEPERIODS.CFG - 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.
|
|
#
|
|
###############################################################################
|
|
|
|
|
|
|
|
###############################################################################
|
|
###############################################################################
|
|
#
|
|
# TIME PERIODS
|
|
#
|
|
###############################################################################
|
|
###############################################################################
|
|
{% if timeperiods is defined %}{% for period in timeperiods %}
|
|
define timeperiod{
|
|
{% for key, value in period.items() %}
|
|
{{ key }} {{ value }}
|
|
{% endfor %}
|
|
}
|
|
{% endfor %}{% endif %}
|
|
|