diff --git a/itl/plugins-contrib.d/logmanagement.conf b/itl/plugins-contrib.d/logmanagement.conf index af18835a1..2fc2ed9ec 100644 --- a/itl/plugins-contrib.d/logmanagement.conf +++ b/itl/plugins-contrib.d/logmanagement.conf @@ -18,6 +18,8 @@ ******************************************************************************/ object CheckCommand "logstash" { + import "ipv4-or-ipv6" + command = [ PluginContribDir + "/check_logstash" ] arguments = { @@ -61,8 +63,8 @@ object CheckCommand "logstash" { value = "$logstash_cpu_crit$" description = "Critical threshold for cpu usage in percent" } - } + vars.logstash_hostname = "$check_address$" vars.logstash_port = 9600 vars.logstash_filedesc_warn = 85