-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow remediation on check.pp #560
Comments
|
It's not well documented, but I think in the check definition, you can pass a hash to custom, and that will show up as custom data included in each check. I think you would want your check to look like this: |
|
I believe @stevenviola's comment is correct. Because |
|
@Phil-Friderici could you please document this |
|
For clarity, any attribute that's not listed in the check definition specification belongs under |
Use the given example in the spec tests.
Use the given example in the spec tests.
|
working on this in PR #739 |
(GH-560) Add docs for $sensu::check::custom
|
this issue can be closed now :) |
Add remediation to check.pp parameters.
Allowed parameters are:
command
ensure
type
handlers
standalone
interval
occurrences
refresh
source
subscribers
low_flap_threshold
high_flap_threshold
timeout
aggregate
aggregates
handle
publish
dependencies
ttl
subdue
Remediator can be set as a handler but cannot set params:
remediation => {
low_remediation => {
ocurrences => [1,2],
severities => [1],
command => "/bin/bob"
publish => false.
},
...
}
Error 400 on SERVER: Syntax error at 'remediation'
The text was updated successfully, but these errors were encountered: