icinga2 0.9.2.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -9
- data/doc/downtimes.md +39 -0
- data/lib/icinga2/actions.rb +152 -0
- data/lib/icinga2/client.rb +29 -22
- data/lib/icinga2/configuration_management.rb +312 -0
- data/lib/icinga2/downtimes.rb +72 -4
- data/lib/icinga2/hostgroups.rb +6 -6
- data/lib/icinga2/hosts.rb +23 -23
- data/lib/icinga2/network.rb +115 -10
- data/lib/icinga2/notifications.rb +17 -9
- data/lib/icinga2/servicegroups.rb +5 -5
- data/lib/icinga2/services.rb +32 -30
- data/lib/icinga2/statistics.rb +17 -14
- data/lib/icinga2/tools.rb +31 -10
- data/lib/icinga2/usergroups.rb +5 -5
- data/lib/icinga2/users.rb +5 -5
- data/lib/icinga2/validator.rb +40 -34
- data/lib/icinga2/version.rb +1 -3
- data/lib/monkey_patches.rb +67 -14
- data/spec/icinga2_spec.rb +1013 -0
- data/spec/spec_helper.rb +13 -0
- metadata +9 -22
- data/doc/Array.html +0 -200
- data/doc/Boolean.html +0 -122
- data/doc/FalseClass.html +0 -132
- data/doc/Hash.html +0 -332
- data/doc/Icinga2.html +0 -247
- data/doc/Logging.html +0 -328
- data/doc/Object.html +0 -286
- data/doc/Time.html +0 -200
- data/doc/TrueClass.html +0 -132
- data/doc/_index.html +0 -352
- data/doc/class_list.html +0 -51
- data/doc/examples +0 -122
- data/doc/file.README.html +0 -349
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -349
- data/doc/method_list.html +0 -755
- data/doc/top-level-namespace.html +0 -112
data/doc/Hash.html
DELETED
@@ -1,332 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: Hash
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.11
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "Hash";
|
19
|
-
relpath = '';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="_index.html">Index (H)</a> »
|
40
|
-
|
41
|
-
|
42
|
-
<span class="title">Hash</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Class: Hash
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
76
|
-
|
77
|
-
<li class="next">Hash</li>
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
<a href="#" class="inheritanceTree">show all</a>
|
81
|
-
|
82
|
-
</dd>
|
83
|
-
</dl>
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<dl>
|
96
|
-
<dt>Defined in:</dt>
|
97
|
-
<dd>lib/monkey_patches.rb<span class="defines">,<br />
|
98
|
-
lib/icinga2/validator.rb</span>
|
99
|
-
</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<h2>Overview</h2><div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
|
107
|
-
<p>filter hash example: tags = [ 'foo', 'bar', 'fii' ]
|
108
|
-
useableTags = tags.filter( 'fii' )</p>
|
109
|
-
|
110
|
-
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<div class="tags">
|
114
|
-
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<h2>
|
125
|
-
Instance Method Summary
|
126
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
127
|
-
</h2>
|
128
|
-
|
129
|
-
<ul class="summary">
|
130
|
-
|
131
|
-
<li class="public ">
|
132
|
-
<span class="summary_signature">
|
133
|
-
|
134
|
-
<a href="#assert_required_keys-instance_method" title="#assert_required_keys (instance method)">#<strong>assert_required_keys</strong>(*keys) ⇒ Object </a>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
</span>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
149
|
-
|
150
|
-
</li>
|
151
|
-
|
152
|
-
|
153
|
-
<li class="public ">
|
154
|
-
<span class="summary_signature">
|
155
|
-
|
156
|
-
<a href="#assert_valid_keys-instance_method" title="#assert_valid_keys (instance method)">#<strong>assert_valid_keys</strong>(params, *valid_keys) ⇒ Object </a>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
</span>
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
171
|
-
|
172
|
-
</li>
|
173
|
-
|
174
|
-
|
175
|
-
<li class="public ">
|
176
|
-
<span class="summary_signature">
|
177
|
-
|
178
|
-
<a href="#filter-instance_method" title="#filter (instance method)">#<strong>filter</strong>(*args) ⇒ Object </a>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
</span>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
193
|
-
|
194
|
-
</li>
|
195
|
-
|
196
|
-
|
197
|
-
</ul>
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
<div id="instance_method_details" class="method_details_list">
|
203
|
-
<h2>Instance Method Details</h2>
|
204
|
-
|
205
|
-
|
206
|
-
<div class="method_details first">
|
207
|
-
<h3 class="signature first" id="assert_required_keys-instance_method">
|
208
|
-
|
209
|
-
#<strong>assert_required_keys</strong>(*keys) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
</h3><table class="source_code">
|
216
|
-
<tr>
|
217
|
-
<td>
|
218
|
-
<pre class="lines">
|
219
|
-
|
220
|
-
|
221
|
-
3
|
222
|
-
4
|
223
|
-
5
|
224
|
-
6
|
225
|
-
7</pre>
|
226
|
-
</td>
|
227
|
-
<td>
|
228
|
-
<pre class="code"><span class="info file"># File 'lib/icinga2/validator.rb', line 3</span>
|
229
|
-
|
230
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_assert_required_keys'>assert_required_keys</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_keys'>keys</span><span class='rparen'>)</span>
|
231
|
-
<span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
232
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Required key: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span>
|
233
|
-
<span class='kw'>end</span>
|
234
|
-
<span class='kw'>end</span></pre>
|
235
|
-
</td>
|
236
|
-
</tr>
|
237
|
-
</table>
|
238
|
-
</div>
|
239
|
-
|
240
|
-
<div class="method_details ">
|
241
|
-
<h3 class="signature " id="assert_valid_keys-instance_method">
|
242
|
-
|
243
|
-
#<strong>assert_valid_keys</strong>(params, *valid_keys) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
</h3><table class="source_code">
|
250
|
-
<tr>
|
251
|
-
<td>
|
252
|
-
<pre class="lines">
|
253
|
-
|
254
|
-
|
255
|
-
9
|
256
|
-
10
|
257
|
-
11
|
258
|
-
12
|
259
|
-
13
|
260
|
-
14
|
261
|
-
15
|
262
|
-
16</pre>
|
263
|
-
</td>
|
264
|
-
<td>
|
265
|
-
<pre class="code"><span class="info file"># File 'lib/icinga2/validator.rb', line 9</span>
|
266
|
-
|
267
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_assert_valid_keys'>assert_valid_keys</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_valid_keys'>valid_keys</span><span class='rparen'>)</span>
|
268
|
-
<span class='id identifier rubyid_valid_keys'>valid_keys</span><span class='period'>.</span><span class='id identifier rubyid_flatten!'>flatten!</span>
|
269
|
-
<span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_each_key'>each_key</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span>
|
270
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_valid_keys'>valid_keys</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_k'>k</span><span class='rparen'>)</span>
|
271
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Unknown key: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>. Valid keys are: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_valid_keys'>valid_keys</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:inspect</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>, </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
272
|
-
<span class='kw'>end</span>
|
273
|
-
<span class='kw'>end</span>
|
274
|
-
<span class='kw'>end</span></pre>
|
275
|
-
</td>
|
276
|
-
</tr>
|
277
|
-
</table>
|
278
|
-
</div>
|
279
|
-
|
280
|
-
<div class="method_details ">
|
281
|
-
<h3 class="signature " id="filter-instance_method">
|
282
|
-
|
283
|
-
#<strong>filter</strong>(*args) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
</h3><table class="source_code">
|
290
|
-
<tr>
|
291
|
-
<td>
|
292
|
-
<pre class="lines">
|
293
|
-
|
294
|
-
|
295
|
-
60
|
296
|
-
61
|
297
|
-
62
|
298
|
-
63
|
299
|
-
64
|
300
|
-
65
|
301
|
-
66
|
302
|
-
67</pre>
|
303
|
-
</td>
|
304
|
-
<td>
|
305
|
-
<pre class="code"><span class="info file"># File 'lib/monkey_patches.rb', line 60</span>
|
306
|
-
|
307
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_filter'>filter</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
308
|
-
<span class='kw'>if</span><span class='lparen'>(</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>==</span> <span class='int'>1</span> <span class='rparen'>)</span>
|
309
|
-
<span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span> <span class='const'>Symbol</span> <span class='rparen'>)</span>
|
310
|
-
<span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='rparen'>)</span> <span class='rbrace'>}</span>
|
311
|
-
<span class='kw'>else</span>
|
312
|
-
<span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span> <span class='rbrace'>}</span>
|
313
|
-
<span class='kw'>end</span>
|
314
|
-
<span class='kw'>end</span></pre>
|
315
|
-
</td>
|
316
|
-
</tr>
|
317
|
-
</table>
|
318
|
-
</div>
|
319
|
-
|
320
|
-
</div>
|
321
|
-
|
322
|
-
</div>
|
323
|
-
|
324
|
-
<div id="footer">
|
325
|
-
Generated on Sat Dec 9 20:28:07 2017 by
|
326
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
327
|
-
0.9.11 (ruby-2.2.8).
|
328
|
-
</div>
|
329
|
-
|
330
|
-
</div>
|
331
|
-
</body>
|
332
|
-
</html>
|
data/doc/Icinga2.html
DELETED
@@ -1,247 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: Icinga2
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.11
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "Icinga2";
|
19
|
-
relpath = '';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="_index.html">Index (I)</a> »
|
40
|
-
|
41
|
-
|
42
|
-
<span class="title">Icinga2</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: Icinga2
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/icinga2/tools.rb<span class="defines">,<br />
|
82
|
-
lib/icinga2.rb,<br /> lib/icinga2/hosts.rb,<br /> lib/icinga2/users.rb,<br /> lib/icinga2/client.rb,<br /> lib/icinga2/network.rb,<br /> lib/icinga2/version.rb,<br /> lib/icinga2/converts.rb,<br /> lib/icinga2/services.rb,<br /> lib/icinga2/downtimes.rb,<br /> lib/icinga2/validator.rb,<br /> lib/icinga2/hostgroups.rb,<br /> lib/icinga2/statistics.rb,<br /> lib/icinga2/usergroups.rb,<br /> lib/icinga2/notifications.rb,<br /> lib/icinga2/servicegroups.rb</span>
|
83
|
-
</dd>
|
84
|
-
</dl>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
<h2>Overview</h2><div class="docstring">
|
89
|
-
<div class="discussion">
|
90
|
-
|
91
|
-
<p>frozen_string_literal: false</p>
|
92
|
-
|
93
|
-
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
<div class="tags">
|
97
|
-
|
98
|
-
|
99
|
-
</div><h2>Defined Under Namespace</h2>
|
100
|
-
<p class="children">
|
101
|
-
|
102
|
-
|
103
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Icinga2/Converts.html" title="Icinga2::Converts (module)">Converts</a></span>, <span class='object_link'><a href="Icinga2/Downtimes.html" title="Icinga2::Downtimes (module)">Downtimes</a></span>, <span class='object_link'><a href="Icinga2/Hostgroups.html" title="Icinga2::Hostgroups (module)">Hostgroups</a></span>, <span class='object_link'><a href="Icinga2/Hosts.html" title="Icinga2::Hosts (module)">Hosts</a></span>, <span class='object_link'><a href="Icinga2/Network.html" title="Icinga2::Network (module)">Network</a></span>, <span class='object_link'><a href="Icinga2/Notifications.html" title="Icinga2::Notifications (module)">Notifications</a></span>, <span class='object_link'><a href="Icinga2/Servicegroups.html" title="Icinga2::Servicegroups (module)">Servicegroups</a></span>, <span class='object_link'><a href="Icinga2/Services.html" title="Icinga2::Services (module)">Services</a></span>, <span class='object_link'><a href="Icinga2/Statistics.html" title="Icinga2::Statistics (module)">Statistics</a></span>, <span class='object_link'><a href="Icinga2/Tools.html" title="Icinga2::Tools (module)">Tools</a></span>, <span class='object_link'><a href="Icinga2/Usergroups.html" title="Icinga2::Usergroups (module)">Usergroups</a></span>, <span class='object_link'><a href="Icinga2/Users.html" title="Icinga2::Users (module)">Users</a></span>, <span class='object_link'><a href="Icinga2/Validator.html" title="Icinga2::Validator (module)">Validator</a></span>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Icinga2/Client.html" title="Icinga2::Client (class)">Client</a></span>
|
108
|
-
|
109
|
-
|
110
|
-
</p>
|
111
|
-
|
112
|
-
<h2>Constant Summary</h2>
|
113
|
-
<dl class="constants">
|
114
|
-
|
115
|
-
<dt id="HOSTS_DOWN-constant" class="">HOSTS_DOWN =
|
116
|
-
<div class="docstring">
|
117
|
-
<div class="discussion">
|
118
|
-
|
119
|
-
<p>static variable for hosts down</p>
|
120
|
-
|
121
|
-
|
122
|
-
</div>
|
123
|
-
</div>
|
124
|
-
<div class="tags">
|
125
|
-
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</dt>
|
129
|
-
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
130
|
-
|
131
|
-
<dt id="HOSTS_CRITICAL-constant" class="">HOSTS_CRITICAL =
|
132
|
-
<div class="docstring">
|
133
|
-
<div class="discussion">
|
134
|
-
|
135
|
-
<p>static variable for hosts critical</p>
|
136
|
-
|
137
|
-
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
<div class="tags">
|
141
|
-
|
142
|
-
|
143
|
-
</div>
|
144
|
-
</dt>
|
145
|
-
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
146
|
-
|
147
|
-
<dt id="HOSTS_UNKNOWN-constant" class="">HOSTS_UNKNOWN =
|
148
|
-
<div class="docstring">
|
149
|
-
<div class="discussion">
|
150
|
-
|
151
|
-
<p>static variable for hosts unknown</p>
|
152
|
-
|
153
|
-
|
154
|
-
</div>
|
155
|
-
</div>
|
156
|
-
<div class="tags">
|
157
|
-
|
158
|
-
|
159
|
-
</div>
|
160
|
-
</dt>
|
161
|
-
<dd><pre class="code"><span class='int'>3</span></pre></dd>
|
162
|
-
|
163
|
-
<dt id="SERVICE_STATE_WARNING-constant" class="">SERVICE_STATE_WARNING =
|
164
|
-
<div class="docstring">
|
165
|
-
<div class="discussion">
|
166
|
-
|
167
|
-
<p>static variables for handled warning</p>
|
168
|
-
|
169
|
-
|
170
|
-
</div>
|
171
|
-
</div>
|
172
|
-
<div class="tags">
|
173
|
-
|
174
|
-
|
175
|
-
</div>
|
176
|
-
</dt>
|
177
|
-
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
178
|
-
|
179
|
-
<dt id="SERVICE_STATE_CRITICAL-constant" class="">SERVICE_STATE_CRITICAL =
|
180
|
-
<div class="docstring">
|
181
|
-
<div class="discussion">
|
182
|
-
|
183
|
-
<p>static variables for handled critical</p>
|
184
|
-
|
185
|
-
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
<div class="tags">
|
189
|
-
|
190
|
-
|
191
|
-
</div>
|
192
|
-
</dt>
|
193
|
-
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
194
|
-
|
195
|
-
<dt id="SERVICE_STATE_UNKNOWN-constant" class="">SERVICE_STATE_UNKNOWN =
|
196
|
-
<div class="docstring">
|
197
|
-
<div class="discussion">
|
198
|
-
|
199
|
-
<p>static variables for handled unknown</p>
|
200
|
-
|
201
|
-
|
202
|
-
</div>
|
203
|
-
</div>
|
204
|
-
<div class="tags">
|
205
|
-
|
206
|
-
|
207
|
-
</div>
|
208
|
-
</dt>
|
209
|
-
<dd><pre class="code"><span class='int'>3</span></pre></dd>
|
210
|
-
|
211
|
-
<dt id="VERSION-constant" class="">VERSION =
|
212
|
-
<div class="docstring">
|
213
|
-
<div class="discussion">
|
214
|
-
|
215
|
-
<p>Current version of gem.</p>
|
216
|
-
|
217
|
-
|
218
|
-
</div>
|
219
|
-
</div>
|
220
|
-
<div class="tags">
|
221
|
-
|
222
|
-
|
223
|
-
</div>
|
224
|
-
</dt>
|
225
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.9.2.7</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
226
|
-
|
227
|
-
</dl>
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
</div>
|
238
|
-
|
239
|
-
<div id="footer">
|
240
|
-
Generated on Sat Dec 9 20:28:06 2017 by
|
241
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
242
|
-
0.9.11 (ruby-2.2.8).
|
243
|
-
</div>
|
244
|
-
|
245
|
-
</div>
|
246
|
-
</body>
|
247
|
-
</html>
|