Merge pull request #5344 from widhalmt/fix/logstash-import-5343

Add ip4-or-ipv6 import to logstash ITL command
This commit is contained in:
Gunnar Beutner 2017-06-12 08:22:00 +02:00 committed by GitHub
commit deb7855dc1
1 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@
******************************************************************************/ ******************************************************************************/
object CheckCommand "logstash" { object CheckCommand "logstash" {
import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_logstash" ] command = [ PluginContribDir + "/check_logstash" ]
arguments = { arguments = {
@ -61,8 +63,8 @@ object CheckCommand "logstash" {
value = "$logstash_cpu_crit$" value = "$logstash_cpu_crit$"
description = "Critical threshold for cpu usage in percent" description = "Critical threshold for cpu usage in percent"
} }
} }
vars.logstash_hostname = "$check_address$" vars.logstash_hostname = "$check_address$"
vars.logstash_port = 9600 vars.logstash_port = 9600
vars.logstash_filedesc_warn = 85 vars.logstash_filedesc_warn = 85