summaryrefslogtreecommitdiffstats
path: root/itl/plugins-contrib.d/big-data.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:32:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:32:39 +0000
commit56ae875861ab260b80a030f50c4aff9f9dc8fff0 (patch)
tree531412110fc901a5918c7f7442202804a83cada9 /itl/plugins-contrib.d/big-data.conf
parentInitial commit. (diff)
downloadicinga2-56ae875861ab260b80a030f50c4aff9f9dc8fff0.tar.xz
icinga2-56ae875861ab260b80a030f50c4aff9f9dc8fff0.zip
Adding upstream version 2.14.2.upstream/2.14.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--itl/plugins-contrib.d/big-data.conf112
1 files changed, 112 insertions, 0 deletions
diff --git a/itl/plugins-contrib.d/big-data.conf b/itl/plugins-contrib.d/big-data.conf
new file mode 100644
index 0000000..7d3d6f1
--- /dev/null
+++ b/itl/plugins-contrib.d/big-data.conf
@@ -0,0 +1,112 @@
+/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
+
+object CheckCommand "cloudera_service_status" {
+ command = [ PluginContribDir + "/check_cloudera_service_status.py" ]
+
+ 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
+ }
+ }
+}