zabbix_maintenance examples fixes
This commit is contained in:
parent
851efe0413
commit
edebadc305
1 changed files with 14 additions and 4 deletions
|
@ -119,8 +119,18 @@ EXAMPLES = '''
|
|||
user=ansible
|
||||
passwd=pAsSwOrD
|
||||
|
||||
# Create maintenance window named "update"
|
||||
# for host www1.example.com and without data collection.
|
||||
- zabbix_maintenance: name=update
|
||||
host=www1.example.com
|
||||
state=present
|
||||
collect_data=false
|
||||
server=https://monitoring.example.com
|
||||
user=ansible
|
||||
passwd=pAsSwOrD
|
||||
|
||||
# Remove maintenance window named "Test1"
|
||||
- zabbix_maintenance: name=Test1"
|
||||
- zabbix_maintenance: name=Test1
|
||||
state=absent
|
||||
server=https://monitoring.example.com
|
||||
user=ansible
|
||||
|
|
Loading…
Reference in a new issue