blob: 7d3d6f173e89ab35729c6f195fec51802b224ba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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
}
}
}
|