|
|
|
@ -35,19 +35,17 @@ options:
|
|
|
|
|
- The name of the alert policy. This is mutually exclusive with id
|
|
|
|
|
required: False
|
|
|
|
|
default: None
|
|
|
|
|
aliases: []
|
|
|
|
|
id:
|
|
|
|
|
description:
|
|
|
|
|
- The alert policy id. This is mutually exclusive with name
|
|
|
|
|
required: False
|
|
|
|
|
default: None
|
|
|
|
|
aliases: []
|
|
|
|
|
alert_recipients:
|
|
|
|
|
description:
|
|
|
|
|
- A list of recipient email ids to notify the alert.
|
|
|
|
|
This is required for state 'present'
|
|
|
|
|
required: False
|
|
|
|
|
aliases: []
|
|
|
|
|
default: None
|
|
|
|
|
metric:
|
|
|
|
|
description:
|
|
|
|
|
- The metric on which to measure the condition that will trigger the alert.
|
|
|
|
@ -55,14 +53,12 @@ options:
|
|
|
|
|
required: False
|
|
|
|
|
default: None
|
|
|
|
|
choices: ['cpu','memory','disk']
|
|
|
|
|
aliases: []
|
|
|
|
|
duration:
|
|
|
|
|
description:
|
|
|
|
|
- The length of time in minutes that the condition must exceed the threshold.
|
|
|
|
|
This is required for state 'present'
|
|
|
|
|
required: False
|
|
|
|
|
default: None
|
|
|
|
|
aliases: []
|
|
|
|
|
threshold:
|
|
|
|
|
description:
|
|
|
|
|
- The threshold that will trigger the alert when the metric equals or exceeds it.
|
|
|
|
@ -70,7 +66,6 @@ options:
|
|
|
|
|
This number represents a percentage and must be a value between 5.0 - 95.0 that is a multiple of 5.0
|
|
|
|
|
required: False
|
|
|
|
|
default: None
|
|
|
|
|
aliases: []
|
|
|
|
|
state:
|
|
|
|
|
description:
|
|
|
|
|
- Whether to create or delete the policy.
|
|
|
|
|