Resource Type: sensu_check
- Defined in:
- lib/puppet/type/sensu_check.rb
- Providers:
-
json
Overview
Manages Sensu checks
Properties
-
aggregate
Whether check is aggregate
Supported values:- /.*/
- absent
-
aggregates
An array of aggregates to add to the check
Supported values:- /.*/
- absent
-
command
Command to be run by the check
Supported values:- /.*/
- absent
-
contacts
Contact names to override handler configuration via Contact Routing
Supported values:- /^[\w\.-]+$/
- absent
-
cron
When the check should be executed, using the Cron syntax.
Supported values:- /.*/
- absent
-
custom
Custom check variables
-
dependencies
Dependencies of this check
Supported values:- /.*/
- absent
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
handle
Whether check event send to a handler
Supported values:- /.*/
- absent
-
handlers
List of handlers that responds to this check
Supported values:- /.*/
- absent
-
high_flap_threshold
A host is determined to be flapping when the percent change exceedes this threshold.
Supported values:- /.*/
- absent
-
interval
How frequently the check runs in seconds
Supported values:- /.*/
- absent
-
low_flap_threshold
A host is determined to be flapping when the percent change is below this threshold.
Supported values:- /.*/
- absent
-
occurrences
The number of event occurrences before the handler should take action.
Supported values:- /.*/
- absent
-
proxy_requests
Proxy Requests
Supported values:- /.*/
- absent
-
publish
Whether check is unpublished
Supported values:- /.*/
- absent
-
refresh
The number of seconds sensu-plugin-aware handlers should wait before taking second action.
Supported values:- /.*/
- absent
-
source
The check source, used to create a JIT Sensu client for an external resource (e.g. a network switch).
Supported values:- /.*/
- absent
-
standalone
Whether this is a standalone check
Supported values:- /.*/
- absent
-
subdue
Check subdue
Supported values:- /.*/
- absent
-
subscribers
Who is subscribed to this check
Supported values:- /.*/
- absent
-
timeout
Check timeout in seconds, after it fails
Supported values:- /.*/
- absent
-
ttl
Check ttl in seconds
Supported values:- /.*/
- absent
-
ttl_status
Exit code for ttl
Supported values:- /.*/
- absent
-
type
What type of check is this
Supported values:- /.*/
- absent
Parameters
-
base_path
(defaults to: /etc/sensu/conf.d/checks)
The base path to the client config file
-
name (namevar)
The name of the check.