1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update zabbix_action.py (#50149)

Mostly typo/grammar fixes. "Zabbix Server" was changed to just "Zabbix", as it could be slightly confusing - some people might interpret this referencing the server process, although API matters. "capital-case" was changed, as it usually is one of "capital" or "upper-case".

+label: docsite_pr
This commit is contained in:
Richlv 2018-12-19 21:09:16 +02:00 committed by Sandra McCann
parent 8ec9565aa9
commit 47e72063a3

View file

@ -51,18 +51,18 @@ options:
default: 'present' default: 'present'
status: status:
description: description:
- Monitoring status of the action. - Status of the action.
choices: ['enabled', 'disabled'] choices: ['enabled', 'disabled']
default: 'enabled' default: 'enabled'
esc_period: esc_period:
description: description:
- Default operation step duration. Must be greater than 60 seconds. Accepts seconds, time unit with suffix and user macro - Default operation step duration. Must be greater than 60 seconds. Accepts seconds, time unit with suffix and user macro.
default: '60' default: '60'
conditions: conditions:
type: list type: list
description: description:
- List of dictionaries of conditions to evaluate. - List of dictionaries of conditions to evaluate.
- For more information about suboptions of this options please - For more information about suboptions of this option please
check out Zabbix API documentation U(https://www.zabbix.com/documentation/3.4/manual/api/reference/action/object#action_filter_condition) check out Zabbix API documentation U(https://www.zabbix.com/documentation/3.4/manual/api/reference/action/object#action_filter_condition)
suboptions: suboptions:
type: type:
@ -129,7 +129,7 @@ options:
formulaid: formulaid:
description: description:
- Arbitrary unique ID that is used to reference the condition from a custom expression. - Arbitrary unique ID that is used to reference the condition from a custom expression.
- Can only contain capital-case letters. - Can only contain upper-case letters.
formula: formula:
description: description:
- User-defined expression to be used for evaluating conditions of filters with a custom expression. - User-defined expression to be used for evaluating conditions of filters with a custom expression.
@ -235,7 +235,7 @@ options:
- proxy - proxy
run_on_groups: run_on_groups:
description: description:
- Host groups to run remote commands on - Host groups to run remote commands on.
- Required when I(type=remote_command) if I(run_on_hosts) is not set - Required when I(type=remote_command) if I(run_on_hosts) is not set
run_on_hosts: run_on_hosts:
description: description:
@ -276,17 +276,17 @@ options:
type: list type: list
description: description:
- List of recovery operations - List of recovery operations
- C(Suboptions) are the same as I(operations) - C(Suboptions) are the same as for I(operations)
- Works only with >= Zabbix 3.2 - Works only with >= Zabbix 3.2
acknowledge_operations: acknowledge_operations:
type: list type: list
description: description:
- List of acknowledge operations - List of acknowledge operations
- C(Suboptions) are the same as I(operations) - C(Suboptions) are the same as for I(operations)
- Works only with >= Zabbix 3.4 - Works only with >= Zabbix 3.4
notes: notes:
- Only Zabbix Server >= 3.0 is supported. - Only Zabbix >= 3.0 is supported.
extends_documentation_fragment: extends_documentation_fragment:
@ -346,7 +346,7 @@ EXAMPLES = '''
run_on_hosts: run_on_hosts:
- 0 - 0
# Trigger action with recovery and aknowledge operations # Trigger action with recovery and acknowledge operations
- name: Deploy trigger action - name: Deploy trigger action
zabbix_action: zabbix_action:
server_url: "http://zabbix.example.com/zabbix/" server_url: "http://zabbix.example.com/zabbix/"