icinga2 0.8.1.2 → 0.9.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -7
- data/doc/Array.html +202 -0
- data/doc/Boolean.html +124 -0
- data/doc/FalseClass.html +134 -0
- data/doc/Hash.html +214 -0
- data/doc/Icinga2.html +10 -8
- data/doc/Logging.html +10 -8
- data/doc/Object.html +288 -0
- data/doc/Time.html +202 -0
- data/doc/TrueClass.html +134 -0
- data/doc/_index.html +77 -23
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +75 -58
- data/doc/frames.html +1 -1
- data/doc/index.html +75 -58
- data/doc/method_list.html +126 -54
- data/doc/services.md +34 -16
- data/doc/top-level-namespace.html +9 -5
- data/examples/test.rb +75 -14
- data/lib/icinga2.rb +16 -1
- data/lib/icinga2/network.rb +8 -6
- data/lib/icinga2/services.rb +243 -65
- data/lib/icinga2/version.rb +3 -3
- metadata +10 -3
data/doc/Time.html
ADDED
@@ -0,0 +1,202 @@
|
|
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: Time
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.4
|
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 = "Time";
|
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"></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 (T)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Time</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
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: Time
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
78
|
+
|
79
|
+
<li class="next">Time</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/monkey_patches.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
<hr>
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
<div class="tags">
|
112
|
+
|
113
|
+
|
114
|
+
</div>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
<h2>
|
123
|
+
Instance Method Summary
|
124
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
125
|
+
</h2>
|
126
|
+
|
127
|
+
<ul class="summary">
|
128
|
+
|
129
|
+
<li class="public ">
|
130
|
+
<span class="summary_signature">
|
131
|
+
|
132
|
+
<a href="#add_minutes-instance_method" title="#add_minutes (instance method)">#<strong>add_minutes</strong>(m) ⇒ Object </a>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
</span>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
147
|
+
|
148
|
+
</li>
|
149
|
+
|
150
|
+
|
151
|
+
</ul>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<div id="instance_method_details" class="method_details_list">
|
157
|
+
<h2>Instance Method Details</h2>
|
158
|
+
|
159
|
+
|
160
|
+
<div class="method_details first">
|
161
|
+
<h3 class="signature first" id="add_minutes-instance_method">
|
162
|
+
|
163
|
+
#<strong>add_minutes</strong>(m) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</h3><table class="source_code">
|
170
|
+
<tr>
|
171
|
+
<td>
|
172
|
+
<pre class="lines">
|
173
|
+
|
174
|
+
|
175
|
+
73
|
176
|
+
74
|
177
|
+
75</pre>
|
178
|
+
</td>
|
179
|
+
<td>
|
180
|
+
<pre class="code"><span class="info file"># File 'lib/monkey_patches.rb', line 73</span>
|
181
|
+
|
182
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_add_minutes'>add_minutes</span><span class='lparen'>(</span><span class='id identifier rubyid_m'>m</span><span class='rparen'>)</span>
|
183
|
+
<span class='kw'>self</span> <span class='op'>+</span> <span class='lparen'>(</span><span class='int'>60</span> <span class='op'>*</span> <span class='id identifier rubyid_m'>m</span><span class='rparen'>)</span>
|
184
|
+
<span class='kw'>end</span></pre>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
</table>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<div id="footer">
|
195
|
+
Generated on Sun Nov 12 15:48:13 2017 by
|
196
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
197
|
+
0.9.4 (ruby-2.2.8).
|
198
|
+
</div>
|
199
|
+
|
200
|
+
</div>
|
201
|
+
</body>
|
202
|
+
</html>
|
data/doc/TrueClass.html
ADDED
@@ -0,0 +1,134 @@
|
|
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: TrueClass
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.4
|
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 = "TrueClass";
|
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"></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 (T)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">TrueClass</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
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: TrueClass
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
78
|
+
|
79
|
+
<li class="next">TrueClass</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<dl>
|
93
|
+
<dt>Includes:</dt>
|
94
|
+
<dd><span class='object_link'><a href="Boolean.html" title="Boolean (module)">Boolean</a></span></dd>
|
95
|
+
</dl>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<dl>
|
103
|
+
<dt>Defined in:</dt>
|
104
|
+
<dd>lib/monkey_patches.rb</dd>
|
105
|
+
</dl>
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div id="footer">
|
127
|
+
Generated on Sun Nov 12 15:48:13 2017 by
|
128
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
|
+
0.9.4 (ruby-2.2.8).
|
130
|
+
</div>
|
131
|
+
|
132
|
+
</div>
|
133
|
+
</body>
|
134
|
+
</html>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.9.
|
7
|
+
Documentation by YARD 0.9.4
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</head>
|
27
27
|
<body>
|
28
28
|
<div class="nav_wrap">
|
29
|
-
<iframe id="nav" src="class_list.html
|
29
|
+
<iframe id="nav" src="class_list.html"></iframe>
|
30
30
|
<div id="resizer"></div>
|
31
31
|
</div>
|
32
32
|
|
@@ -52,7 +52,9 @@
|
|
52
52
|
<div class="clear"></div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<
|
55
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
56
|
+
|
57
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.4</h1>
|
56
58
|
<div id="listing">
|
57
59
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
60
|
|
@@ -76,6 +78,32 @@
|
|
76
78
|
<td valign='top' width="33%">
|
77
79
|
|
78
80
|
|
81
|
+
<ul id="alpha_A" class="alpha">
|
82
|
+
<li class="letter">A</li>
|
83
|
+
<ul>
|
84
|
+
|
85
|
+
<li>
|
86
|
+
<span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span>
|
87
|
+
|
88
|
+
</li>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</ul>
|
92
|
+
|
93
|
+
|
94
|
+
<ul id="alpha_B" class="alpha">
|
95
|
+
<li class="letter">B</li>
|
96
|
+
<ul>
|
97
|
+
|
98
|
+
<li>
|
99
|
+
<span class='object_link'><a href="Boolean.html" title="Boolean (module)">Boolean</a></span>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
</ul>
|
104
|
+
</ul>
|
105
|
+
|
106
|
+
|
79
107
|
<ul id="alpha_C" class="alpha">
|
80
108
|
<li class="letter">C</li>
|
81
109
|
<ul>
|
@@ -113,10 +141,28 @@
|
|
113
141
|
</ul>
|
114
142
|
|
115
143
|
|
144
|
+
<ul id="alpha_F" class="alpha">
|
145
|
+
<li class="letter">F</li>
|
146
|
+
<ul>
|
147
|
+
|
148
|
+
<li>
|
149
|
+
<span class='object_link'><a href="FalseClass.html" title="FalseClass (class)">FalseClass</a></span>
|
150
|
+
|
151
|
+
</li>
|
152
|
+
|
153
|
+
</ul>
|
154
|
+
</ul>
|
155
|
+
|
156
|
+
|
116
157
|
<ul id="alpha_H" class="alpha">
|
117
158
|
<li class="letter">H</li>
|
118
159
|
<ul>
|
119
160
|
|
161
|
+
<li>
|
162
|
+
<span class='object_link'><a href="Hash.html" title="Hash (class)">Hash</a></span>
|
163
|
+
|
164
|
+
</li>
|
165
|
+
|
120
166
|
<li>
|
121
167
|
<span class='object_link'><a href="Icinga2/Hostgroups.html" title="Icinga2::Hostgroups (module)">Hostgroups</a></span>
|
122
168
|
|
@@ -148,6 +194,9 @@
|
|
148
194
|
</ul>
|
149
195
|
|
150
196
|
|
197
|
+
</td><td valign='top' width="33%">
|
198
|
+
|
199
|
+
|
151
200
|
<ul id="alpha_L" class="alpha">
|
152
201
|
<li class="letter">L</li>
|
153
202
|
<ul>
|
@@ -183,6 +232,19 @@
|
|
183
232
|
</ul>
|
184
233
|
|
185
234
|
|
235
|
+
<ul id="alpha_O" class="alpha">
|
236
|
+
<li class="letter">O</li>
|
237
|
+
<ul>
|
238
|
+
|
239
|
+
<li>
|
240
|
+
<span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span>
|
241
|
+
|
242
|
+
</li>
|
243
|
+
|
244
|
+
</ul>
|
245
|
+
</ul>
|
246
|
+
|
247
|
+
|
186
248
|
<ul id="alpha_S" class="alpha">
|
187
249
|
<li class="letter">S</li>
|
188
250
|
<ul>
|
@@ -212,13 +274,15 @@
|
|
212
274
|
</ul>
|
213
275
|
|
214
276
|
|
215
|
-
</td><td valign='top' width="33%">
|
216
|
-
|
217
|
-
|
218
277
|
<ul id="alpha_T" class="alpha">
|
219
278
|
<li class="letter">T</li>
|
220
279
|
<ul>
|
221
280
|
|
281
|
+
<li>
|
282
|
+
<span class='object_link'><a href="Time.html" title="Time (class)">Time</a></span>
|
283
|
+
|
284
|
+
</li>
|
285
|
+
|
222
286
|
<li>
|
223
287
|
<span class='object_link'><a href="Icinga2/Tools.html" title="Icinga2::Tools (module)">Tools</a></span>
|
224
288
|
|
@@ -226,6 +290,11 @@
|
|
226
290
|
|
227
291
|
</li>
|
228
292
|
|
293
|
+
<li>
|
294
|
+
<span class='object_link'><a href="TrueClass.html" title="TrueClass (class)">TrueClass</a></span>
|
295
|
+
|
296
|
+
</li>
|
297
|
+
|
229
298
|
</ul>
|
230
299
|
</ul>
|
231
300
|
|
@@ -251,21 +320,6 @@
|
|
251
320
|
</ul>
|
252
321
|
</ul>
|
253
322
|
|
254
|
-
|
255
|
-
<ul id="alpha_V" class="alpha">
|
256
|
-
<li class="letter">V</li>
|
257
|
-
<ul>
|
258
|
-
|
259
|
-
<li>
|
260
|
-
<span class='object_link'><a href="Icinga2/Version.html" title="Icinga2::Version (module)">Version</a></span>
|
261
|
-
|
262
|
-
<small>(Icinga2)</small>
|
263
|
-
|
264
|
-
</li>
|
265
|
-
|
266
|
-
</ul>
|
267
|
-
</ul>
|
268
|
-
|
269
323
|
</td>
|
270
324
|
</tr>
|
271
325
|
</table>
|
@@ -275,9 +329,9 @@
|
|
275
329
|
</div>
|
276
330
|
|
277
331
|
<div id="footer">
|
278
|
-
Generated on
|
332
|
+
Generated on Sun Nov 12 15:48:12 2017 by
|
279
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
280
|
-
0.9.
|
334
|
+
0.9.4 (ruby-2.2.8).
|
281
335
|
</div>
|
282
336
|
|
283
337
|
</div>
|