This module will let you create Zabbix maintenance windows.

Options

namedescriptionrequiredchoices
state Create or remove a maintenance window.
  • present
  • absent
server_url Url of Zabbix server, with protocol (http or https). C(url) is an alias for C(server_url). true
login_user Zabbix user name. true
login_password Zabbix user password. true
host_names Hosts to manage maintenance window for. Separate multiple hosts with commas. C(host_name) is an alias for C(host_names). B(Required) option when C(state) is I(present) and no C(host_groups) specified.
host_groups Host groups to manage maintenance window for. Separate multiple groups with commas. C(host_group) is an alias for C(host_groups). B(Required) option when C(state) is I(present) and no C(host_names) specified.
minutes Length of maintenance window in minutes.
name Unique name of maintenance window. true
desc Short description of maintenance window. true
collect_data Type of maintenance. With data collection, or without.

Author

Alexander Bulimov (@abulimov)