]> granicus.if.org Git - icinga2/blob - itl/plugins-contrib.d/big-data.conf
Merge pull request #6974 from Icinga/feature/copyright-generic
[icinga2] / itl / plugins-contrib.d / big-data.conf
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 object CheckCommand "cloudera_service_status" {
4         command = [ PluginDir + "/check_cloudera_service_status.py" ]
5
6         arguments = {
7                 "-H" = {
8                         description = "host"
9                         value       = "$cloudera_host$"
10                         required    = true
11                 }
12                 "-P" = {
13                         description = "port"
14                         value       = "$cloudera_port$"
15                         required    = false
16                 }
17                 "-u" = {
18                         description = "user"
19                         value       = "$cloudera_user$"
20                         required    = true
21                 }
22                 "-p" = {
23                         description = "pass"
24                         value       = "$cloudera_pass$"
25                         required    = true
26                 }
27                 "-v" = {
28                         description = "api_version"
29                         value       = "$cloudera_api_version$"
30                         required    = true
31                 }
32                 "-c" = {
33                         description = "cluster"
34                         value       = "$cloudera_cluster$"
35                         required    = true
36                 }
37                 "-s" = {
38                         description = "service"
39                         value       = "$cloudera_service$"
40                         required    = true
41                 }
42                 "-k" = {
43                         description = "verify_ssl"
44                         value       = "$cloudera_verify_ssl$"
45                         required    = false
46                 }
47         }
48 }
49
50 object CheckCommand "cloudera_hdfs_space" {
51         command = [ PluginDir + "/check_cloudera_hdfs_space.py" ]
52
53         arguments = {
54                 "-H" = {
55                         description = "Namenode host"
56                         value       = "$cloudera_hdfs_space_host$"
57                         required    = true
58                 }
59                 "-P" = {
60                         description = "Namenode port (default 50070)"
61                         value       = "$cloudera_hdfs_space_port$"
62                         required    = false
63                 }
64                 "-d" = {
65                         description = "HDFS disk to check"
66                         value       = "$cloudera_hdfs_space_disk$"
67                         required    = true
68                 }
69                 "-w" = {
70                         description = "Warning threshold in percent"
71                         value       = "$cloudera_hdfs_space_warn$"
72                         required    = true
73                 }
74                 "-c" = {
75                         description = "Critical threshold in percent"
76                         value       = "$cloudera_hdfs_space_crit$"
77                         required    = true
78                 }
79         }
80 }
81
82 object CheckCommand "cloudera_hdfs_files" {
83         command = [ PluginDir + "/check_cloudera_hdfs_files.py" ]
84
85         arguments = {
86                 "-H" = {
87                         description = "Namenode host"
88                         value       = "$cloudera_hdfs_files_host$"
89                         required    = true
90                 }
91                 "-P" = {
92                         description = "Namenode port (default 50070)"
93                         value       = "$cloudera_hdfs_files_port$"
94                         required    = false
95                 }
96                 "-w" = {
97                         description = "Warning threshold"
98                         value       = "$cloudera_hdfs_files_warn$"
99                         required    = true
100                 }
101                 "-c" = {
102                         description = "Critical threshold"
103                         value       = "$cloudera_hdfs_files_crit$"
104                         required    = true
105                 }
106                 "-m" = {
107                         description = "Max files count that causes problems (default 140000000)"
108                         value       = "$cloudera_hdfs_files_max$"
109                         required    = false
110                 }
111         }
112 }