icinga2/itl/plugins-contrib.d/big-data.conf

113 lines
2.5 KiB
Plaintext
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2018-08-21 21:03:55 +02:00
object CheckCommand "cloudera_service_status" {
command = [ PluginContribDir + "/check_cloudera_service_status.py" ]
2018-08-21 21:03:55 +02:00
arguments = {
"-H" = {
description = "host"
value = "$cloudera_host$"
required = true
}
"-P" = {
description = "port"
value = "$cloudera_port$"
required = false
}
"-u" = {
description = "user"
value = "$cloudera_user$"
required = true
}
"-p" = {
description = "pass"
value = "$cloudera_pass$"
required = true
}
"-v" = {
description = "api_version"
value = "$cloudera_api_version$"
required = true
}
"-c" = {
description = "cluster"
value = "$cloudera_cluster$"
required = true
}
"-s" = {
description = "service"
value = "$cloudera_service$"
required = true
}
"-k" = {
description = "verify_ssl"
value = "$cloudera_verify_ssl$"
required = false
}
}
}
object CheckCommand "cloudera_hdfs_space" {
command = [ PluginContribDir + "/check_cloudera_hdfs_space.py" ]
arguments = {
"-H" = {
description = "Namenode host"
value = "$cloudera_hdfs_space_host$"
required = true
}
"-P" = {
description = "Namenode port (default 50070)"
value = "$cloudera_hdfs_space_port$"
required = false
}
"-d" = {
description = "HDFS disk to check"
value = "$cloudera_hdfs_space_disk$"
required = true
}
"-w" = {
description = "Warning threshold in percent"
value = "$cloudera_hdfs_space_warn$"
required = true
}
"-c" = {
description = "Critical threshold in percent"
value = "$cloudera_hdfs_space_crit$"
required = true
}
}
}
object CheckCommand "cloudera_hdfs_files" {
command = [ PluginContribDir + "/check_cloudera_hdfs_files.py" ]
arguments = {
"-H" = {
description = "Namenode host"
value = "$cloudera_hdfs_files_host$"
required = true
}
"-P" = {
description = "Namenode port (default 50070)"
value = "$cloudera_hdfs_files_port$"
required = false
}
"-w" = {
description = "Warning threshold"
value = "$cloudera_hdfs_files_warn$"
required = true
}
"-c" = {
description = "Critical threshold"
value = "$cloudera_hdfs_files_crit$"
required = true
}
"-m" = {
description = "Max files count that causes problems (default 140000000)"
value = "$cloudera_hdfs_files_max$"
required = false
}
}
}