ITL: Fix mitigation attribute for nwc_health

fixes #5075

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
Dirk Goetz 2017-03-16 11:12:20 +01:00 committed by Michael Friedrich
parent 15395cab48
commit f169232ef2
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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" = {