mirror of https://github.com/Icinga/icinga2.git
Merge pull request #5344 from widhalmt/fix/logstash-import-5343
Add ip4-or-ipv6 import to logstash ITL command
This commit is contained in:
commit
deb7855dc1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue