From: Lennart Betz Date: Sun, 16 Aug 2015 15:00:25 +0000 (+0200) Subject: Fix check_command interfaces, change option match_aliases to boolean X-Git-Tag: v2.4.0~411 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb6db7978ac5a96826d9d92e6823f1df9081efd0;p=icinga2 Fix check_command interfaces, change option match_aliases to boolean fixes #9912 Signed-off-by: Gunnar Beutner --- diff --git a/itl/plugins-contrib.d/network-components.conf b/itl/plugins-contrib.d/network-components.conf index 391b37fc2..09df9bcfc 100644 --- a/itl/plugins-contrib.d/network-components.conf +++ b/itl/plugins-contrib.d/network-components.conf @@ -425,7 +425,7 @@ object CheckCommand "interfaces" { description = "Retrieves the interface description." } "--match-aliases" = { - value = "$interfaces_match_aliases$" + set_if = "$interfaces_match_aliases$" description = "Also match against aliases (Option --aliases automatically enabled)." } "--timeout" = { @@ -439,4 +439,7 @@ object CheckCommand "interfaces" { } vars.interfaces_address = "$check_address$" + vars.interfaces_down_is_ok = false + vars.interfaces_aliases = false + vars.interfaces_match_aliases = false }