mirror of https://github.com/Icinga/icinga2.git
ITL: Fix mitigation attribute for nwc_health
fixes #5075 Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
parent
15395cab48
commit
f169232ef2
|
@ -2576,7 +2576,7 @@ nwc_health_warning | **Optional.** The warning threshold
|
|||
nwc_health_critical | **Optional.** The critical threshold
|
||||
nwc_health_warningx | **Optional.** The extended warning thresholds
|
||||
nwc_health_criticalx | **Optional.** The extended critical thresholds
|
||||
nwc_health_mitigation | **Optional.** The parameter allows you to change a critical error to a warning.
|
||||
nwc_health_mitigation | **Optional.** The parameter allows you to change a critical error to a warning (1) or ok (0).
|
||||
nwc_health_selectedperfdata | **Optional.** The parameter allows you to limit the list of performance data. It's a perl regexp. Only matching perfdata show up in the output.
|
||||
nwc_health_morphperfdata | **Optional.** The parameter allows you to change performance data labels. It's a perl regexp and a substitution. --morphperfdata '(.*)ISATAP(.*)'='$1patasi$2'
|
||||
nwc_health_negate | **Optional.** The parameter allows you to map exit levels, such as warning=critical.
|
||||
|
|
|
@ -632,7 +632,7 @@ object CheckCommand "nwc_health" {
|
|||
description = "The extended critical thresholds"
|
||||
}
|
||||
"--mitigation" = {
|
||||
set_if = "$nwc_health_mitigation$"
|
||||
value = "$nwc_health_mitigation$"
|
||||
description = "The parameter allows you to change a critical error to a warning."
|
||||
}
|
||||
"--selectedperfdata" = {
|
||||
|
|
Loading…
Reference in New Issue