1 /******************************************************************************
3 * Copyright (C) 2012-2018 Icinga Development Team (https://icinga.com/) *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License *
7 * as published by the Free Software Foundation; either version 2 *
8 * of the License, or (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software Foundation *
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ******************************************************************************/
20 object CheckCommand "cloudera_service_status" {
21 command = [ PluginDir + "/check_cloudera_service_status.py" ]
26 value = "$cloudera_host$"
31 value = "$cloudera_port$"
36 value = "$cloudera_user$"
41 value = "$cloudera_pass$"
45 description = "api_version"
46 value = "$cloudera_api_version$"
50 description = "cluster"
51 value = "$cloudera_cluster$"
55 description = "service"
56 value = "$cloudera_service$"
60 description = "verify_ssl"
61 value = "$cloudera_verify_ssl$"
67 object CheckCommand "cloudera_hdfs_space" {
68 command = [ PluginDir + "/check_cloudera_hdfs_space.py" ]
72 description = "Namenode host"
73 value = "$cloudera_hdfs_space_host$"
77 description = "Namenode port (default 50070)"
78 value = "$cloudera_hdfs_space_port$"
82 description = "HDFS disk to check"
83 value = "$cloudera_hdfs_space_disk$"
87 description = "Warning threshold in percent"
88 value = "$cloudera_hdfs_space_warn$"
92 description = "Critical threshold in percent"
93 value = "$cloudera_hdfs_space_crit$"
99 object CheckCommand "cloudera_hdfs_files" {
100 command = [ PluginDir + "/check_cloudera_hdfs_files.py" ]
104 description = "Namenode host"
105 value = "$cloudera_hdfs_files_host$"
109 description = "Namenode port (default 50070)"
110 value = "$cloudera_hdfs_files_port$"
114 description = "Warning threshold"
115 value = "$cloudera_hdfs_files_warn$"
119 description = "Critical threshold"
120 value = "$cloudera_hdfs_files_crit$"
124 description = "Max files count that causes problems (default 140000000)"
125 value = "$cloudera_hdfs_files_max$"