update example document for zabbix_action module (#62667)
This commit is contained in:
parent
1520eba0a7
commit
3299f29f7c
1 changed files with 5 additions and 0 deletions
|
@ -359,6 +359,7 @@ EXAMPLES = '''
|
||||||
event_source: 'trigger'
|
event_source: 'trigger'
|
||||||
state: present
|
state: present
|
||||||
status: enabled
|
status: enabled
|
||||||
|
esc_period: 60
|
||||||
conditions:
|
conditions:
|
||||||
- type: 'trigger_severity'
|
- type: 'trigger_severity'
|
||||||
operator: '>='
|
operator: '>='
|
||||||
|
@ -381,6 +382,7 @@ EXAMPLES = '''
|
||||||
event_source: 'trigger'
|
event_source: 'trigger'
|
||||||
state: present
|
state: present
|
||||||
status: enabled
|
status: enabled
|
||||||
|
esc_period: 60
|
||||||
conditions:
|
conditions:
|
||||||
- type: 'trigger_name'
|
- type: 'trigger_name'
|
||||||
operator: 'like'
|
operator: 'like'
|
||||||
|
@ -398,6 +400,8 @@ EXAMPLES = '''
|
||||||
- 'Admin'
|
- 'Admin'
|
||||||
- type: remote_command
|
- type: remote_command
|
||||||
command: 'systemctl restart zabbix-agent'
|
command: 'systemctl restart zabbix-agent'
|
||||||
|
command_type: custom_script
|
||||||
|
execute_on: server
|
||||||
run_on_hosts:
|
run_on_hosts:
|
||||||
- 0
|
- 0
|
||||||
|
|
||||||
|
@ -411,6 +415,7 @@ EXAMPLES = '''
|
||||||
event_source: 'trigger'
|
event_source: 'trigger'
|
||||||
state: present
|
state: present
|
||||||
status: enabled
|
status: enabled
|
||||||
|
esc_period: 60
|
||||||
conditions:
|
conditions:
|
||||||
- type: 'trigger_severity'
|
- type: 'trigger_severity'
|
||||||
operator: '>='
|
operator: '>='
|
||||||
|
|
Loading…
Reference in a new issue