From: Michael Friedrich Date: Wed, 13 May 2015 12:19:20 +0000 (+0200) Subject: Fix missing IPv6 support in 'iftraffic' check command X-Git-Tag: v2.4.0~652 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb2c84c904a7001736a6d354092705394f7de098;p=icinga2 Fix missing IPv6 support in 'iftraffic' check command refs #9272 --- diff --git a/itl/plugins-contrib.d/network-components.conf b/itl/plugins-contrib.d/network-components.conf index 8345dcbb4..1c243abe9 100644 --- a/itl/plugins-contrib.d/network-components.conf +++ b/itl/plugins-contrib.d/network-components.conf @@ -294,6 +294,8 @@ object CheckCommand "interfacetable" { object CheckCommand "iftraffic" { import "plugin-check-command" + import "ipv4-or-ipv6" + command = [ PluginDir + "/check_iftraffic64.pl"] arguments = { @@ -334,7 +336,7 @@ object CheckCommand "iftraffic" { } } - vars.iftraffic_address = "$address$" + vars.iftraffic_address = "$check_address$" vars.iftraffic_warn = "85%" vars.iftraffic_crit = "98%" }