Fix non-matching defaults. (#5452) (#5454)

(cherry picked from commit f84a9bf932)
This commit is contained in:
Felix Fontein 2022-11-01 20:09:31 +01:00 committed by GitHub
parent 2754d86ac5
commit d119905bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 130 additions and 21 deletions

View file

@ -52,14 +52,12 @@ options:
elements: str
description:
- List of handlers to notify when the check fails
default: []
subscribers:
type: list
elements: str
description:
- List of subscribers/channels this check should run for
- See sensu_subscribers to subscribe a machine to a channel
default: []
interval:
type: int
description:
@ -91,7 +89,6 @@ options:
elements: str
description:
- Other checks this check depends on, if dependencies fail handling of this check will be disabled
default: []
metric:
description:
- Whether the check is a metric
@ -137,7 +134,6 @@ options:
description:
- A hash/dictionary of custom parameters for mixing to the configuration.
- You can't rewrite others module parameters using this
default: {}
source:
type: str
description:

View file

@ -61,6 +61,7 @@ options:
type: str
description:
- The prefix to add to the metric.
default: ''
value:
type: int
required: true