/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/) *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://icinga.com/) *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
******************************************************************************/
object CheckCommand "logstash" {
+ import "ipv4-or-ipv6"
+
command = [ PluginContribDir + "/check_logstash" ]
arguments = {
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