Skip to content

Commit

Permalink
update example document for zabbix_action module (#62667)
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-joker authored and samccann committed Sep 24, 2019
1 parent 1520eba commit 3299f29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ansible/modules/monitoring/zabbix/zabbix_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@
event_source: 'trigger'
state: present
status: enabled
esc_period: 60
conditions:
- type: 'trigger_severity'
operator: '>='
Expand All @@ -381,6 +382,7 @@
event_source: 'trigger'
state: present
status: enabled
esc_period: 60
conditions:
- type: 'trigger_name'
operator: 'like'
Expand All @@ -398,6 +400,8 @@
- 'Admin'
- type: remote_command
command: 'systemctl restart zabbix-agent'
command_type: custom_script
execute_on: server
run_on_hosts:
- 0
Expand All @@ -411,6 +415,7 @@
event_source: 'trigger'
state: present
status: enabled
esc_period: 60
conditions:
- type: 'trigger_severity'
operator: '>='
Expand Down

0 comments on commit 3299f29

Please sign in to comment.