Skip to content

Commit

Permalink
Fix check_command interfaces, change option match_aliases to boolean
Browse files Browse the repository at this point in the history
fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
  • Loading branch information
lbetz authored and gunnarbeutner committed Aug 17, 2015
1 parent db8b4af commit bb6db79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion itl/plugins-contrib.d/network-components.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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" = {
Expand All @@ -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
}

0 comments on commit bb6db79

Please sign in to comment.