From bb6db7978ac5a96826d9d92e6823f1df9081efd0 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Sun, 16 Aug 2015 17:00:25 +0200 Subject: [PATCH] Fix check_command interfaces, change option match_aliases to boolean fixes #9912 Signed-off-by: Gunnar Beutner --- itl/plugins-contrib.d/network-components.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.40.0