opennebula_nagios_probe 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +5 -0
- data/.rubocop.yml +6 -0
- data/.travis.yml +10 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +87 -0
- data/README.md +36 -0
- data/Rakefile +65 -0
- data/bin/check_opennebula +70 -0
- data/conf/opennebula.cfg.erb +32 -0
- data/lib/opennebula_nagios_probe.rb +29 -0
- data/lib/probe/occi/client.rb +50 -0
- data/lib/probe/occi/nocci/compute.rb +20 -0
- data/lib/probe/occi/nocci/network.rb +21 -0
- data/lib/probe/occi/nocci/resource.rb +96 -0
- data/lib/probe/occi/nocci/storage.rb +22 -0
- data/lib/probe/occi/rocci/compute.rb +70 -0
- data/lib/probe/occi/rocci/network.rb +21 -0
- data/lib/probe/occi/rocci/resource.rb +62 -0
- data/lib/probe/occi/rocci/storage.rb +22 -0
- data/lib/probe/opennebula_econe_probe.rb +108 -0
- data/lib/probe/opennebula_occi_probe.rb +126 -0
- data/lib/probe/opennebula_oned_probe.rb +101 -0
- data/lib/probe/opennebula_probe.rb +97 -0
- data/lib/probe/optparse_nagios_probe.rb +174 -0
- data/opennebula_nagios_probe.gemspec +32 -0
- data/spec/probe/fixtures/cassettes/econe/econe_critical_existing_resources.yml +75 -0
- data/spec/probe/fixtures/cassettes/econe/econe_critical_no_resources.yml +75 -0
- data/spec/probe/fixtures/cassettes/econe/econe_critical_nonexisting_resources.yml +75 -0
- data/spec/probe/fixtures/cassettes/econe/econe_warning_existing_resources.yml +75 -0
- data/spec/probe/fixtures/cassettes/econe/econe_warning_nonexisting_resources.yml +40 -0
- data/spec/probe/fixtures/cassettes/occi/occi_critical_existing_resources.yml +143 -0
- data/spec/probe/fixtures/cassettes/occi/occi_critical_no_resources.yml +143 -0
- data/spec/probe/fixtures/cassettes/occi/occi_critical_nonexisting_resources.yml +143 -0
- data/spec/probe/fixtures/cassettes/occi/occi_warning_existing_resources.yml +230 -0
- data/spec/probe/fixtures/cassettes/occi/occi_warning_nonexisting_resources.yml +49 -0
- data/spec/probe/fixtures/cassettes/oned/oned_critical_existing_resources.yml +131 -0
- data/spec/probe/fixtures/cassettes/oned/oned_critical_no_resources.yml +131 -0
- data/spec/probe/fixtures/cassettes/oned/oned_critical_nonexisting_resources.yml +131 -0
- data/spec/probe/fixtures/cassettes/oned/oned_warning_existing_resources.yml +671 -0
- data/spec/probe/fixtures/cassettes/oned/oned_warning_nonexisting_resources.yml +130 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_critical_existing_resources.yml +1220 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_critical_no_resources.yml +1220 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_critical_nonexisting_resources.yml +1220 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_warning_existing_resources.yml +817 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_warning_no_resources.yml +591 -0
- data/spec/probe/fixtures/cassettes/rocci/rocci_warning_nonexisting_resources.yml +640 -0
- data/spec/probe/opennebula_econe_probe_spec.rb +150 -0
- data/spec/probe/opennebula_occi_probe_spec.rb +149 -0
- data/spec/probe/opennebula_oned_probe_spec.rb +154 -0
- data/spec/probe/opennebula_rocci_probe_spec.rb +156 -0
- metadata +280 -0
@@ -0,0 +1,640 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- text/plain,text/occi;q=0.2
|
12
|
+
User-Agent:
|
13
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Fri, 07 Feb 2014 11:18:21 GMT
|
21
|
+
Server:
|
22
|
+
- Apache/2.2.22 (Debian)
|
23
|
+
X-Frame-Options:
|
24
|
+
- SAMEORIGIN
|
25
|
+
X-Xss-Protection:
|
26
|
+
- 1; mode=block
|
27
|
+
X-Content-Type-Options:
|
28
|
+
- nosniff
|
29
|
+
X-Ua-Compatible:
|
30
|
+
- chrome=1
|
31
|
+
Etag:
|
32
|
+
- ! '"4ec52cefab19100696695417e2b6c101"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- bd2f478b-b6ec-4c71-b4f2-b94383bda879
|
37
|
+
X-Runtime:
|
38
|
+
- '0.177628'
|
39
|
+
X-Powered-By:
|
40
|
+
- Phusion Passenger 4.0.29
|
41
|
+
Status:
|
42
|
+
- 200 OK
|
43
|
+
Vary:
|
44
|
+
- Accept-Encoding
|
45
|
+
Content-Type:
|
46
|
+
- text/plain; charset=utf-8
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
http_version:
|
51
|
+
recorded_at: Fri, 07 Feb 2014 12:18:24 GMT
|
52
|
+
- request:
|
53
|
+
method: head
|
54
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/
|
55
|
+
body:
|
56
|
+
encoding: US-ASCII
|
57
|
+
string: ''
|
58
|
+
headers:
|
59
|
+
Accept:
|
60
|
+
- text/plain,text/occi;q=0.2
|
61
|
+
User-Agent:
|
62
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 406
|
66
|
+
message: Not Acceptable
|
67
|
+
headers:
|
68
|
+
Date:
|
69
|
+
- Fri, 07 Feb 2014 11:18:22 GMT
|
70
|
+
Server:
|
71
|
+
- Apache/2.2.22 (Debian)
|
72
|
+
X-Request-Id:
|
73
|
+
- 0f8759d6-6619-48cc-a440-46ce32fd0586
|
74
|
+
X-Runtime:
|
75
|
+
- '0.150983'
|
76
|
+
X-Powered-By:
|
77
|
+
- Phusion Passenger 4.0.29
|
78
|
+
Status:
|
79
|
+
- 406 Not Acceptable
|
80
|
+
Vary:
|
81
|
+
- Accept-Encoding
|
82
|
+
Content-Type:
|
83
|
+
- text/html; charset=utf-8
|
84
|
+
body:
|
85
|
+
encoding: US-ASCII
|
86
|
+
string: ''
|
87
|
+
http_version:
|
88
|
+
recorded_at: Fri, 07 Feb 2014 12:18:25 GMT
|
89
|
+
- request:
|
90
|
+
method: get
|
91
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ''
|
95
|
+
headers:
|
96
|
+
Accept:
|
97
|
+
- text/plain,text/occi;q=0.2
|
98
|
+
User-Agent:
|
99
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
100
|
+
response:
|
101
|
+
status:
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
Date:
|
106
|
+
- Fri, 07 Feb 2014 11:18:22 GMT
|
107
|
+
Server:
|
108
|
+
- Apache/2.2.22 (Debian)
|
109
|
+
X-Frame-Options:
|
110
|
+
- SAMEORIGIN
|
111
|
+
X-Xss-Protection:
|
112
|
+
- 1; mode=block
|
113
|
+
X-Content-Type-Options:
|
114
|
+
- nosniff
|
115
|
+
X-Ua-Compatible:
|
116
|
+
- chrome=1
|
117
|
+
Etag:
|
118
|
+
- ! '"4ec52cefab19100696695417e2b6c101"'
|
119
|
+
Cache-Control:
|
120
|
+
- max-age=0, private, must-revalidate
|
121
|
+
X-Request-Id:
|
122
|
+
- bd258406-b0a9-4dc6-aec9-67dcc0ca14a2
|
123
|
+
X-Runtime:
|
124
|
+
- '0.105762'
|
125
|
+
X-Powered-By:
|
126
|
+
- Phusion Passenger 4.0.29
|
127
|
+
Status:
|
128
|
+
- 200 OK
|
129
|
+
Vary:
|
130
|
+
- Accept-Encoding
|
131
|
+
Transfer-Encoding:
|
132
|
+
- chunked
|
133
|
+
Content-Type:
|
134
|
+
- text/plain; charset=utf-8
|
135
|
+
body:
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
|
138
|
+
occi.core.title"
|
139
|
+
|
140
|
+
Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.id{immutable}
|
141
|
+
occi.core.title occi.core.summary"
|
142
|
+
|
143
|
+
Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{immutable}
|
144
|
+
occi.core.title occi.core.target occi.core.source"
|
145
|
+
|
146
|
+
Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
|
147
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
|
148
|
+
occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
|
149
|
+
occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
|
150
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
|
151
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
|
152
|
+
|
153
|
+
Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
|
154
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
|
155
|
+
occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
|
156
|
+
http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
|
157
|
+
http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
|
158
|
+
|
159
|
+
Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
|
160
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
|
161
|
+
occi.core.title occi.core.summary occi.network.vlan occi.network.label occi.network.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
|
162
|
+
http://schemas.ogf.org/occi/infrastructure/network/action#down"
|
163
|
+
|
164
|
+
Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
|
165
|
+
link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
|
166
|
+
occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
|
167
|
+
occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
|
168
|
+
http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
|
169
|
+
|
170
|
+
Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
|
171
|
+
link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
|
172
|
+
occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
|
173
|
+
occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
|
174
|
+
http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
|
175
|
+
|
176
|
+
Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
|
177
|
+
to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
|
178
|
+
|
179
|
+
Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
|
180
|
+
template";location="/mixin/resource_tpl/"
|
181
|
+
|
182
|
+
Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
|
183
|
+
system template";location="/mixin/os_tpl/"
|
184
|
+
|
185
|
+
Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
|
186
|
+
network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
|
187
|
+
occi.network.gateway occi.network.allocation"
|
188
|
+
|
189
|
+
Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
|
190
|
+
network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
|
191
|
+
occi.networkinterface.gateway occi.networkinterface.allocation"
|
192
|
+
|
193
|
+
Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
|
194
|
+
contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
|
195
|
+
org.openstack.credentials.publickey.data{immutable}"
|
196
|
+
|
197
|
+
Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
|
198
|
+
contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
|
199
|
+
|
200
|
+
Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
201
|
+
specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
|
202
|
+
org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
|
203
|
+
org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
|
204
|
+
org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
|
205
|
+
org.opennebula.storage.path{immutable}"
|
206
|
+
|
207
|
+
Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
208
|
+
specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
|
209
|
+
org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
|
210
|
+
org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
|
211
|
+
org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
|
212
|
+
org.opennebula.compute.boot{immutable}"
|
213
|
+
|
214
|
+
Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
215
|
+
specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
|
216
|
+
org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
|
217
|
+
org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
|
218
|
+
org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
|
219
|
+
org.opennebula.networkinterface.icmp{immutable}"
|
220
|
+
|
221
|
+
Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
222
|
+
specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
|
223
|
+
org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
|
224
|
+
|
225
|
+
Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
226
|
+
specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
|
227
|
+
org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
|
228
|
+
org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
|
229
|
+
org.opennebula.network.ip_end{immutable}"
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
Category: medium;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
|
234
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
|
235
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
236
|
+
|
237
|
+
Category: small;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Small
|
238
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
|
239
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
240
|
+
|
241
|
+
Category: extra_large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
|
242
|
+
Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
|
243
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
244
|
+
|
245
|
+
Category: large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Large
|
246
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
|
247
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
248
|
+
|
249
|
+
Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
|
250
|
+
compute instance"
|
251
|
+
|
252
|
+
Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
|
253
|
+
compute instance";attributes="method"
|
254
|
+
|
255
|
+
Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
|
256
|
+
compute instance";attributes="method"
|
257
|
+
|
258
|
+
Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
|
259
|
+
compute instance";attributes="method"
|
260
|
+
|
261
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
|
262
|
+
storage"
|
263
|
+
|
264
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
|
265
|
+
storage"
|
266
|
+
|
267
|
+
Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
|
268
|
+
storage"
|
269
|
+
|
270
|
+
Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
|
271
|
+
storage"
|
272
|
+
|
273
|
+
Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
|
274
|
+
storage";attributes="size{required}"
|
275
|
+
|
276
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
|
277
|
+
network"
|
278
|
+
|
279
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
|
280
|
+
network"
|
281
|
+
|
282
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
|
283
|
+
networkinterface"
|
284
|
+
|
285
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
|
286
|
+
networkinterface"
|
287
|
+
|
288
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
|
289
|
+
storagelink"
|
290
|
+
|
291
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
|
292
|
+
storagelink"
|
293
|
+
|
294
|
+
'
|
295
|
+
http_version:
|
296
|
+
recorded_at: Fri, 07 Feb 2014 12:18:25 GMT
|
297
|
+
- request:
|
298
|
+
method: head
|
299
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
|
300
|
+
body:
|
301
|
+
encoding: US-ASCII
|
302
|
+
string: ''
|
303
|
+
headers:
|
304
|
+
Accept:
|
305
|
+
- text/plain,text/occi;q=0.2
|
306
|
+
User-Agent:
|
307
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
308
|
+
response:
|
309
|
+
status:
|
310
|
+
code: 200
|
311
|
+
message: OK
|
312
|
+
headers:
|
313
|
+
Date:
|
314
|
+
- Fri, 07 Feb 2014 11:18:22 GMT
|
315
|
+
Server:
|
316
|
+
- Apache/2.2.22 (Debian)
|
317
|
+
X-Frame-Options:
|
318
|
+
- SAMEORIGIN
|
319
|
+
X-Xss-Protection:
|
320
|
+
- 1; mode=block
|
321
|
+
X-Content-Type-Options:
|
322
|
+
- nosniff
|
323
|
+
X-Ua-Compatible:
|
324
|
+
- chrome=1
|
325
|
+
Etag:
|
326
|
+
- ! '"4ec52cefab19100696695417e2b6c101"'
|
327
|
+
Cache-Control:
|
328
|
+
- max-age=0, private, must-revalidate
|
329
|
+
X-Request-Id:
|
330
|
+
- a08535d9-d1fb-49b1-a919-f3b19e346eec
|
331
|
+
X-Runtime:
|
332
|
+
- '0.098594'
|
333
|
+
X-Powered-By:
|
334
|
+
- Phusion Passenger 4.0.29
|
335
|
+
Status:
|
336
|
+
- 200 OK
|
337
|
+
Vary:
|
338
|
+
- Accept-Encoding
|
339
|
+
Content-Type:
|
340
|
+
- text/plain; charset=utf-8
|
341
|
+
body:
|
342
|
+
encoding: US-ASCII
|
343
|
+
string: ''
|
344
|
+
http_version:
|
345
|
+
recorded_at: Fri, 07 Feb 2014 12:18:25 GMT
|
346
|
+
- request:
|
347
|
+
method: head
|
348
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/
|
349
|
+
body:
|
350
|
+
encoding: US-ASCII
|
351
|
+
string: ''
|
352
|
+
headers:
|
353
|
+
Accept:
|
354
|
+
- text/plain,text/occi;q=0.2
|
355
|
+
User-Agent:
|
356
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
357
|
+
response:
|
358
|
+
status:
|
359
|
+
code: 406
|
360
|
+
message: Not Acceptable
|
361
|
+
headers:
|
362
|
+
Date:
|
363
|
+
- Fri, 07 Feb 2014 11:18:23 GMT
|
364
|
+
Server:
|
365
|
+
- Apache/2.2.22 (Debian)
|
366
|
+
X-Request-Id:
|
367
|
+
- 85b9fd63-bc1d-4834-b346-1b55df915a74
|
368
|
+
X-Runtime:
|
369
|
+
- '0.152690'
|
370
|
+
X-Powered-By:
|
371
|
+
- Phusion Passenger 4.0.29
|
372
|
+
Status:
|
373
|
+
- 406 Not Acceptable
|
374
|
+
Vary:
|
375
|
+
- Accept-Encoding
|
376
|
+
Content-Type:
|
377
|
+
- text/html; charset=utf-8
|
378
|
+
body:
|
379
|
+
encoding: US-ASCII
|
380
|
+
string: ''
|
381
|
+
http_version:
|
382
|
+
recorded_at: Fri, 07 Feb 2014 12:18:26 GMT
|
383
|
+
- request:
|
384
|
+
method: get
|
385
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
|
386
|
+
body:
|
387
|
+
encoding: US-ASCII
|
388
|
+
string: ''
|
389
|
+
headers:
|
390
|
+
Accept:
|
391
|
+
- text/plain,text/occi;q=0.2
|
392
|
+
User-Agent:
|
393
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
394
|
+
response:
|
395
|
+
status:
|
396
|
+
code: 200
|
397
|
+
message: OK
|
398
|
+
headers:
|
399
|
+
Date:
|
400
|
+
- Fri, 07 Feb 2014 11:18:23 GMT
|
401
|
+
Server:
|
402
|
+
- Apache/2.2.22 (Debian)
|
403
|
+
X-Frame-Options:
|
404
|
+
- SAMEORIGIN
|
405
|
+
X-Xss-Protection:
|
406
|
+
- 1; mode=block
|
407
|
+
X-Content-Type-Options:
|
408
|
+
- nosniff
|
409
|
+
X-Ua-Compatible:
|
410
|
+
- chrome=1
|
411
|
+
Etag:
|
412
|
+
- ! '"4ec52cefab19100696695417e2b6c101"'
|
413
|
+
Cache-Control:
|
414
|
+
- max-age=0, private, must-revalidate
|
415
|
+
X-Request-Id:
|
416
|
+
- fecf85fa-fe8a-4c2f-983f-6d117e1c56a2
|
417
|
+
X-Runtime:
|
418
|
+
- '0.095666'
|
419
|
+
X-Powered-By:
|
420
|
+
- Phusion Passenger 4.0.29
|
421
|
+
Status:
|
422
|
+
- 200 OK
|
423
|
+
Vary:
|
424
|
+
- Accept-Encoding
|
425
|
+
Transfer-Encoding:
|
426
|
+
- chunked
|
427
|
+
Content-Type:
|
428
|
+
- text/plain; charset=utf-8
|
429
|
+
body:
|
430
|
+
encoding: US-ASCII
|
431
|
+
string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
|
432
|
+
occi.core.title"
|
433
|
+
|
434
|
+
Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.id{immutable}
|
435
|
+
occi.core.title occi.core.summary"
|
436
|
+
|
437
|
+
Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{immutable}
|
438
|
+
occi.core.title occi.core.target occi.core.source"
|
439
|
+
|
440
|
+
Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
|
441
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
|
442
|
+
occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
|
443
|
+
occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
|
444
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
|
445
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
|
446
|
+
|
447
|
+
Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
|
448
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
|
449
|
+
occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
|
450
|
+
http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
|
451
|
+
http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
|
452
|
+
|
453
|
+
Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
|
454
|
+
resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
|
455
|
+
occi.core.title occi.core.summary occi.network.vlan occi.network.label occi.network.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
|
456
|
+
http://schemas.ogf.org/occi/infrastructure/network/action#down"
|
457
|
+
|
458
|
+
Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
|
459
|
+
link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
|
460
|
+
occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
|
461
|
+
occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
|
462
|
+
http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
|
463
|
+
|
464
|
+
Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
|
465
|
+
link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
|
466
|
+
occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
|
467
|
+
occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
|
468
|
+
http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
|
469
|
+
|
470
|
+
Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
|
471
|
+
to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
|
472
|
+
|
473
|
+
Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
|
474
|
+
template";location="/mixin/resource_tpl/"
|
475
|
+
|
476
|
+
Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
|
477
|
+
system template";location="/mixin/os_tpl/"
|
478
|
+
|
479
|
+
Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
|
480
|
+
network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
|
481
|
+
occi.network.gateway occi.network.allocation"
|
482
|
+
|
483
|
+
Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
|
484
|
+
network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
|
485
|
+
occi.networkinterface.gateway occi.networkinterface.allocation"
|
486
|
+
|
487
|
+
Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
|
488
|
+
contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
|
489
|
+
org.openstack.credentials.publickey.data{immutable}"
|
490
|
+
|
491
|
+
Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
|
492
|
+
contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
|
493
|
+
|
494
|
+
Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
495
|
+
specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
|
496
|
+
org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
|
497
|
+
org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
|
498
|
+
org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
|
499
|
+
org.opennebula.storage.path{immutable}"
|
500
|
+
|
501
|
+
Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
502
|
+
specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
|
503
|
+
org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
|
504
|
+
org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
|
505
|
+
org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
|
506
|
+
org.opennebula.compute.boot{immutable}"
|
507
|
+
|
508
|
+
Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
509
|
+
specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
|
510
|
+
org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
|
511
|
+
org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
|
512
|
+
org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
|
513
|
+
org.opennebula.networkinterface.icmp{immutable}"
|
514
|
+
|
515
|
+
Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
516
|
+
specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
|
517
|
+
org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
|
518
|
+
|
519
|
+
Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
520
|
+
specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
|
521
|
+
org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
|
522
|
+
org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
|
523
|
+
org.opennebula.network.ip_end{immutable}"
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
Category: medium;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
|
528
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
|
529
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
530
|
+
|
531
|
+
Category: small;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Small
|
532
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
|
533
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
534
|
+
|
535
|
+
Category: extra_large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
|
536
|
+
Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
|
537
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
538
|
+
|
539
|
+
Category: large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Large
|
540
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
|
541
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
542
|
+
|
543
|
+
Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
|
544
|
+
compute instance"
|
545
|
+
|
546
|
+
Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
|
547
|
+
compute instance";attributes="method"
|
548
|
+
|
549
|
+
Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
|
550
|
+
compute instance";attributes="method"
|
551
|
+
|
552
|
+
Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
|
553
|
+
compute instance";attributes="method"
|
554
|
+
|
555
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
|
556
|
+
storage"
|
557
|
+
|
558
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
|
559
|
+
storage"
|
560
|
+
|
561
|
+
Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
|
562
|
+
storage"
|
563
|
+
|
564
|
+
Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
|
565
|
+
storage"
|
566
|
+
|
567
|
+
Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
|
568
|
+
storage";attributes="size{required}"
|
569
|
+
|
570
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
|
571
|
+
network"
|
572
|
+
|
573
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
|
574
|
+
network"
|
575
|
+
|
576
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
|
577
|
+
networkinterface"
|
578
|
+
|
579
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
|
580
|
+
networkinterface"
|
581
|
+
|
582
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
|
583
|
+
storagelink"
|
584
|
+
|
585
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
|
586
|
+
storagelink"
|
587
|
+
|
588
|
+
'
|
589
|
+
http_version:
|
590
|
+
recorded_at: Fri, 07 Feb 2014 12:18:26 GMT
|
591
|
+
- request:
|
592
|
+
method: get
|
593
|
+
uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/compute/8192
|
594
|
+
body:
|
595
|
+
encoding: US-ASCII
|
596
|
+
string: ''
|
597
|
+
headers:
|
598
|
+
Accept:
|
599
|
+
- text/plain,text/occi;q=0.2
|
600
|
+
User-Agent:
|
601
|
+
- rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
|
602
|
+
response:
|
603
|
+
status:
|
604
|
+
code: 404
|
605
|
+
message: Not Found
|
606
|
+
headers:
|
607
|
+
Date:
|
608
|
+
- Fri, 07 Feb 2014 11:18:24 GMT
|
609
|
+
Server:
|
610
|
+
- Apache/2.2.22 (Debian)
|
611
|
+
X-Frame-Options:
|
612
|
+
- SAMEORIGIN
|
613
|
+
X-Xss-Protection:
|
614
|
+
- 1; mode=block
|
615
|
+
X-Content-Type-Options:
|
616
|
+
- nosniff
|
617
|
+
X-Ua-Compatible:
|
618
|
+
- chrome=1
|
619
|
+
Cache-Control:
|
620
|
+
- no-cache
|
621
|
+
X-Request-Id:
|
622
|
+
- d03cbf05-e173-498a-b35a-ec1104aa0ba8
|
623
|
+
X-Runtime:
|
624
|
+
- '0.107600'
|
625
|
+
X-Powered-By:
|
626
|
+
- Phusion Passenger 4.0.29
|
627
|
+
Status:
|
628
|
+
- 404 Not Found
|
629
|
+
Vary:
|
630
|
+
- Accept-Encoding
|
631
|
+
Transfer-Encoding:
|
632
|
+
- chunked
|
633
|
+
Content-Type:
|
634
|
+
- text/plain; charset=utf-8
|
635
|
+
body:
|
636
|
+
encoding: US-ASCII
|
637
|
+
string: ! '[VirtualMachineInfo] Error getting virtual machine [8192].'
|
638
|
+
http_version:
|
639
|
+
recorded_at: Fri, 07 Feb 2014 12:18:27 GMT
|
640
|
+
recorded_with: VCR 2.8.0
|