From 96b47f2f4d4b36a085e482c8fc0fef90180e770e Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 13 May 2015 14:19:20 +0200 Subject: [PATCH] Fix missing IPv6 support in 'iftraffic' check command refs #9272 --- itl/plugins-contrib.d/network-components.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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%" }