mirror of https://github.com/Icinga/icinga2.git
Update negate CheckCommand definition
refs #5427 Signed-off-by: Jean Flach <jean-marcel.flach@icinga.com>
This commit is contained in:
parent
3427aca7d2
commit
96777b9f13
|
@ -795,7 +795,8 @@ negate_timeout | **Optional.** Seconds before plugin times out (default: 11).
|
||||||
negate_timeout_result | **Optional.** Custom result on Negate timeouts, default to UNKNOWN.
|
negate_timeout_result | **Optional.** Custom result on Negate timeouts, default to UNKNOWN.
|
||||||
negate_ok | **Optional.** OK, WARNING, CRITICAL or UNKNOWN.
|
negate_ok | **Optional.** OK, WARNING, CRITICAL or UNKNOWN.
|
||||||
negate_warning | Numeric values are accepted.
|
negate_warning | Numeric values are accepted.
|
||||||
negate_critical | If nothing is specified, permutes OK and CRITICAL.
|
negate_critical | If nothing is specified,
|
||||||
|
negate_unknown | permutes OK and CRITICAL.
|
||||||
negate_substitute | **Optional.** Substitute output text as well. Will only substitute text in CAPITALS.
|
negate_substitute | **Optional.** Substitute output text as well. Will only substitute text in CAPITALS.
|
||||||
negate_command | **Required.** Command to be negated.
|
negate_command | **Required.** Command to be negated.
|
||||||
negate_arguments | **Optional.** Arguments for the negated command.
|
negate_arguments | **Optional.** Arguments for the negated command.
|
||||||
|
|
|
@ -2781,6 +2781,9 @@ object CheckCommand "negate" {
|
||||||
"-c" = {
|
"-c" = {
|
||||||
value = "$negate_critical$"
|
value = "$negate_critical$"
|
||||||
}
|
}
|
||||||
|
"-u" = {
|
||||||
|
value = "$negate_unknown$"
|
||||||
|
}
|
||||||
"-s" = {
|
"-s" = {
|
||||||
set_if = "$negate_substitute$"
|
set_if = "$negate_substitute$"
|
||||||
description = "Substitute output text as well. Will only substitute text in CAPITALS"
|
description = "Substitute output text as well. Will only substitute text in CAPITALS"
|
||||||
|
|
Loading…
Reference in New Issue