Fix missing IPv6 support in 'iftraffic' check command

refs #9272
This commit is contained in:
Michael Friedrich 2015-05-13 14:19:20 +02:00
parent 606ffa643c
commit 96b47f2f4d
1 changed files with 3 additions and 1 deletions

View File

@ -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%"
}