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,75 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://localhost:2345/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=yUyjdPgO3iXIfZrj%2FtbiO8lM2qrZ2ZOc%2FbjvfzJ5Jxo%3D
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- github-amazon-ec2-ruby-gem
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
23
|
+
Server:
|
24
|
+
- thin 1.3.1 codename Triple Espresso
|
25
|
+
X-Frame-Options:
|
26
|
+
- sameorigin
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
Content-Type:
|
30
|
+
- application/xml
|
31
|
+
Content-Length:
|
32
|
+
- '880'
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: <?xml version="1.0"?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>44748f3f-3e2e-4b6d-a807-f754d12dc89f</requestId><imagesSet><item><name>ttylinux
|
36
|
+
- kvm</name><description>ttylinux</description><imageId>ami-00000006</imageId><imageLocation>7ba83cabcea65882790fbe449d25e4ca</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item><item><name>ttylinux
|
37
|
+
- kvm2</name><description>ttylinux</description><imageId>ami-00000007</imageId><imageLocation>07193573e51336e1bce9aedc2492bbc6</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
40
|
+
- request:
|
41
|
+
method: post
|
42
|
+
uri: https://localhost:2345/
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=pVdE33jTb1CpxwbzvB1%2F65LUc6eD6WFEfRx%2B0qXLIuw%3D
|
46
|
+
headers:
|
47
|
+
Accept:
|
48
|
+
- ! '*/*'
|
49
|
+
User-Agent:
|
50
|
+
- github-amazon-ec2-ruby-gem
|
51
|
+
Content-Type:
|
52
|
+
- application/x-www-form-urlencoded
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Date:
|
59
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
60
|
+
Server:
|
61
|
+
- thin 1.3.1 codename Triple Espresso
|
62
|
+
X-Frame-Options:
|
63
|
+
- sameorigin
|
64
|
+
X-Xss-Protection:
|
65
|
+
- 1; mode=block
|
66
|
+
Content-Type:
|
67
|
+
- application/xml
|
68
|
+
Content-Length:
|
69
|
+
- '1785'
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: <?xml version="1.0"?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>78914b2d-1180-4810-af1d-b66ff4366bbe</requestId><reservationSet><item><reservationId>default</reservationId><ownerId>nagios-probes-test</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><instancesSet><item><instanceId>i-00000009</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>9</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000010</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>10</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000011</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:30:33+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>11</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
|
73
|
+
http_version:
|
74
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
75
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,75 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://localhost:2345/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=yUyjdPgO3iXIfZrj%2FtbiO8lM2qrZ2ZOc%2FbjvfzJ5Jxo%3D
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- github-amazon-ec2-ruby-gem
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
23
|
+
Server:
|
24
|
+
- thin 1.3.1 codename Triple Espresso
|
25
|
+
X-Frame-Options:
|
26
|
+
- sameorigin
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
Content-Type:
|
30
|
+
- application/xml
|
31
|
+
Content-Length:
|
32
|
+
- '880'
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: <?xml version="1.0"?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>b9ede274-b3c7-41ee-a57f-d5896bdd2f96</requestId><imagesSet><item><name>ttylinux
|
36
|
+
- kvm</name><description>ttylinux</description><imageId>ami-00000006</imageId><imageLocation>7ba83cabcea65882790fbe449d25e4ca</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item><item><name>ttylinux
|
37
|
+
- kvm2</name><description>ttylinux</description><imageId>ami-00000007</imageId><imageLocation>07193573e51336e1bce9aedc2492bbc6</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
40
|
+
- request:
|
41
|
+
method: post
|
42
|
+
uri: https://localhost:2345/
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=pVdE33jTb1CpxwbzvB1%2F65LUc6eD6WFEfRx%2B0qXLIuw%3D
|
46
|
+
headers:
|
47
|
+
Accept:
|
48
|
+
- ! '*/*'
|
49
|
+
User-Agent:
|
50
|
+
- github-amazon-ec2-ruby-gem
|
51
|
+
Content-Type:
|
52
|
+
- application/x-www-form-urlencoded
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Date:
|
59
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
60
|
+
Server:
|
61
|
+
- thin 1.3.1 codename Triple Espresso
|
62
|
+
X-Frame-Options:
|
63
|
+
- sameorigin
|
64
|
+
X-Xss-Protection:
|
65
|
+
- 1; mode=block
|
66
|
+
Content-Type:
|
67
|
+
- application/xml
|
68
|
+
Content-Length:
|
69
|
+
- '1785'
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: <?xml version="1.0"?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>9cd088ee-25b8-4586-84da-5fd121a36e31</requestId><reservationSet><item><reservationId>default</reservationId><ownerId>nagios-probes-test</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><instancesSet><item><instanceId>i-00000009</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>9</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000010</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>10</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000011</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:30:33+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>11</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
|
73
|
+
http_version:
|
74
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
75
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,75 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://localhost:2345/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=yUyjdPgO3iXIfZrj%2FtbiO8lM2qrZ2ZOc%2FbjvfzJ5Jxo%3D
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- github-amazon-ec2-ruby-gem
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
23
|
+
Server:
|
24
|
+
- thin 1.3.1 codename Triple Espresso
|
25
|
+
X-Frame-Options:
|
26
|
+
- sameorigin
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
Content-Type:
|
30
|
+
- application/xml
|
31
|
+
Content-Length:
|
32
|
+
- '880'
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: <?xml version="1.0"?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>2965d262-0159-48ad-8c52-ff937ffb9229</requestId><imagesSet><item><name>ttylinux
|
36
|
+
- kvm</name><description>ttylinux</description><imageId>ami-00000006</imageId><imageLocation>7ba83cabcea65882790fbe449d25e4ca</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item><item><name>ttylinux
|
37
|
+
- kvm2</name><description>ttylinux</description><imageId>ami-00000007</imageId><imageLocation>07193573e51336e1bce9aedc2492bbc6</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
40
|
+
- request:
|
41
|
+
method: post
|
42
|
+
uri: https://localhost:2345/
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A03Z&Version=2010-08-31&Signature=pVdE33jTb1CpxwbzvB1%2F65LUc6eD6WFEfRx%2B0qXLIuw%3D
|
46
|
+
headers:
|
47
|
+
Accept:
|
48
|
+
- ! '*/*'
|
49
|
+
User-Agent:
|
50
|
+
- github-amazon-ec2-ruby-gem
|
51
|
+
Content-Type:
|
52
|
+
- application/x-www-form-urlencoded
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Date:
|
59
|
+
- Thu, 18 Apr 2013 11:44:03 GMT
|
60
|
+
Server:
|
61
|
+
- thin 1.3.1 codename Triple Espresso
|
62
|
+
X-Frame-Options:
|
63
|
+
- sameorigin
|
64
|
+
X-Xss-Protection:
|
65
|
+
- 1; mode=block
|
66
|
+
Content-Type:
|
67
|
+
- application/xml
|
68
|
+
Content-Length:
|
69
|
+
- '1785'
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: <?xml version="1.0"?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>14dc10a9-0c6b-4956-8cfb-d8c20fe2d6c7</requestId><reservationSet><item><reservationId>default</reservationId><ownerId>nagios-probes-test</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><instancesSet><item><instanceId>i-00000009</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>9</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000010</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:29:49+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>10</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item><item><instanceId>i-00000011</instanceId><imageId></imageId><instanceState><code>0</code><name>pending</name></instanceState><keyName>none</keyName><productCodes/><instanceType></instanceType><launchTime>2013-04-04T13:30:33+02:00</launchTime><placement><availabilityZone>default</availabilityZone></placement><amiLaunchIndex>11</amiLaunchIndex><kernelId>eki-EA801065</kernelId><ramdiskId>eri-1FEE1144</ramdiskId><monitoring><state>false</state></monitoring></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
|
73
|
+
http_version:
|
74
|
+
recorded_at: Thu, 18 Apr 2013 11:44:03 GMT
|
75
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://localhost:2345/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: AWSAccessKeyId=nagios-probes-test&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2013-04-18T11%3A44%3A04Z&Version=2010-08-31&Signature=p66kcwgI61IFDDEuk5NNkZS0SseBwOIaY1I6uylLIRY%3D
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- github-amazon-ec2-ruby-gem
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 18 Apr 2013 11:44:04 GMT
|
23
|
+
Server:
|
24
|
+
- thin 1.3.1 codename Triple Espresso
|
25
|
+
X-Frame-Options:
|
26
|
+
- sameorigin
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
Content-Type:
|
30
|
+
- application/xml
|
31
|
+
Content-Length:
|
32
|
+
- '880'
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: <?xml version="1.0"?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"><requestId>c2462bb6-bbbd-4dcc-ab51-36eb21ff23d2</requestId><imagesSet><item><name>ttylinux
|
36
|
+
- kvm</name><description>ttylinux</description><imageId>ami-00000006</imageId><imageLocation>7ba83cabcea65882790fbe449d25e4ca</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item><item><name>ttylinux
|
37
|
+
- kvm2</name><description>ttylinux</description><imageId>ami-00000007</imageId><imageLocation>07193573e51336e1bce9aedc2492bbc6</imageLocation><imageState>available</imageState><imageOwnerId>nagios-probes-test</imageOwnerId><isPublic>false</isPublic><architecture>i386</architecture><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Apr 2013 11:44:04 GMT
|
40
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,143 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/network
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
- application/xml
|
13
|
+
User-Agent:
|
14
|
+
- Ruby
|
15
|
+
Connection:
|
16
|
+
- keep-alive
|
17
|
+
Keep-Alive:
|
18
|
+
- 30
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: OK
|
23
|
+
headers:
|
24
|
+
Date:
|
25
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
26
|
+
Server:
|
27
|
+
- thin 1.3.1 codename Triple Espresso
|
28
|
+
X-Frame-Options:
|
29
|
+
- sameorigin
|
30
|
+
X-Xss-Protection:
|
31
|
+
- 1; mode=block
|
32
|
+
Content-Type:
|
33
|
+
- application/xml;charset=utf-8
|
34
|
+
Cache-Control:
|
35
|
+
- no-store
|
36
|
+
Content-Length:
|
37
|
+
- '270'
|
38
|
+
Keep-Alive:
|
39
|
+
- timeout=5, max=100
|
40
|
+
Connection:
|
41
|
+
- Keep-Alive
|
42
|
+
body:
|
43
|
+
encoding: US-ASCII
|
44
|
+
string: ! '<NETWORK_COLLECTION><NETWORK href="https://localhost:2345//network/2"
|
45
|
+
name="net1"/><NETWORK href="https://localhost:2345//network/3"
|
46
|
+
name="net2"/><NETWORK href="https://localhost:2345//network/4"
|
47
|
+
name="net3"/></NETWORK_COLLECTION> '
|
48
|
+
http_version:
|
49
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/compute
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- ! '*/*'
|
59
|
+
- application/xml
|
60
|
+
User-Agent:
|
61
|
+
- Ruby
|
62
|
+
Connection:
|
63
|
+
- keep-alive
|
64
|
+
Keep-Alive:
|
65
|
+
- 30
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Date:
|
72
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
73
|
+
Server:
|
74
|
+
- thin 1.3.1 codename Triple Espresso
|
75
|
+
X-Frame-Options:
|
76
|
+
- sameorigin
|
77
|
+
X-Xss-Protection:
|
78
|
+
- 1; mode=block
|
79
|
+
Content-Type:
|
80
|
+
- application/xml;charset=utf-8
|
81
|
+
Cache-Control:
|
82
|
+
- no-store
|
83
|
+
Content-Length:
|
84
|
+
- '277'
|
85
|
+
Keep-Alive:
|
86
|
+
- timeout=5, max=100
|
87
|
+
Connection:
|
88
|
+
- Keep-Alive
|
89
|
+
body:
|
90
|
+
encoding: US-ASCII
|
91
|
+
string: ! '<COMPUTE_COLLECTION><COMPUTE href="https://localhost:2345//compute/9"
|
92
|
+
name="one-9"/><COMPUTE href="https://localhost:2345//compute/10"
|
93
|
+
name="one-10"/><COMPUTE href="https://localhost:2345//compute/11"
|
94
|
+
name="one-11"/></COMPUTE_COLLECTION> '
|
95
|
+
http_version:
|
96
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
97
|
+
- request:
|
98
|
+
method: get
|
99
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/storage
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ''
|
103
|
+
headers:
|
104
|
+
Accept:
|
105
|
+
- ! '*/*'
|
106
|
+
- application/xml
|
107
|
+
User-Agent:
|
108
|
+
- Ruby
|
109
|
+
Connection:
|
110
|
+
- keep-alive
|
111
|
+
Keep-Alive:
|
112
|
+
- 30
|
113
|
+
response:
|
114
|
+
status:
|
115
|
+
code: 200
|
116
|
+
message: OK
|
117
|
+
headers:
|
118
|
+
Date:
|
119
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
120
|
+
Server:
|
121
|
+
- thin 1.3.1 codename Triple Espresso
|
122
|
+
X-Frame-Options:
|
123
|
+
- sameorigin
|
124
|
+
X-Xss-Protection:
|
125
|
+
- 1; mode=block
|
126
|
+
Content-Type:
|
127
|
+
- application/xml;charset=utf-8
|
128
|
+
Cache-Control:
|
129
|
+
- no-store
|
130
|
+
Content-Length:
|
131
|
+
- '217'
|
132
|
+
Keep-Alive:
|
133
|
+
- timeout=5, max=100
|
134
|
+
Connection:
|
135
|
+
- Keep-Alive
|
136
|
+
body:
|
137
|
+
encoding: US-ASCII
|
138
|
+
string: ! '<STORAGE_COLLECTION><STORAGE href="https://localhost:2345//storage/6"
|
139
|
+
name="ttylinux - kvm"/><STORAGE href="https://localhost:2345//storage/7"
|
140
|
+
name="ttylinux - kvm2"/></STORAGE_COLLECTION> '
|
141
|
+
http_version:
|
142
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
143
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,143 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/network
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
- application/xml
|
13
|
+
User-Agent:
|
14
|
+
- Ruby
|
15
|
+
Connection:
|
16
|
+
- keep-alive
|
17
|
+
Keep-Alive:
|
18
|
+
- 30
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: OK
|
23
|
+
headers:
|
24
|
+
Date:
|
25
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
26
|
+
Server:
|
27
|
+
- thin 1.3.1 codename Triple Espresso
|
28
|
+
X-Frame-Options:
|
29
|
+
- sameorigin
|
30
|
+
X-Xss-Protection:
|
31
|
+
- 1; mode=block
|
32
|
+
Content-Type:
|
33
|
+
- application/xml;charset=utf-8
|
34
|
+
Cache-Control:
|
35
|
+
- no-store
|
36
|
+
Content-Length:
|
37
|
+
- '270'
|
38
|
+
Keep-Alive:
|
39
|
+
- timeout=5, max=100
|
40
|
+
Connection:
|
41
|
+
- Keep-Alive
|
42
|
+
body:
|
43
|
+
encoding: US-ASCII
|
44
|
+
string: ! '<NETWORK_COLLECTION><NETWORK href="https://localhost:2345//network/2"
|
45
|
+
name="net1"/><NETWORK href="https://localhost:2345//network/3"
|
46
|
+
name="net2"/><NETWORK href="https://localhost:2345//network/4"
|
47
|
+
name="net3"/></NETWORK_COLLECTION> '
|
48
|
+
http_version:
|
49
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/compute
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- ! '*/*'
|
59
|
+
- application/xml
|
60
|
+
User-Agent:
|
61
|
+
- Ruby
|
62
|
+
Connection:
|
63
|
+
- keep-alive
|
64
|
+
Keep-Alive:
|
65
|
+
- 30
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Date:
|
72
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
73
|
+
Server:
|
74
|
+
- thin 1.3.1 codename Triple Espresso
|
75
|
+
X-Frame-Options:
|
76
|
+
- sameorigin
|
77
|
+
X-Xss-Protection:
|
78
|
+
- 1; mode=block
|
79
|
+
Content-Type:
|
80
|
+
- application/xml;charset=utf-8
|
81
|
+
Cache-Control:
|
82
|
+
- no-store
|
83
|
+
Content-Length:
|
84
|
+
- '277'
|
85
|
+
Keep-Alive:
|
86
|
+
- timeout=5, max=100
|
87
|
+
Connection:
|
88
|
+
- Keep-Alive
|
89
|
+
body:
|
90
|
+
encoding: US-ASCII
|
91
|
+
string: ! '<COMPUTE_COLLECTION><COMPUTE href="https://localhost:2345//compute/9"
|
92
|
+
name="one-9"/><COMPUTE href="https://localhost:2345//compute/10"
|
93
|
+
name="one-10"/><COMPUTE href="https://localhost:2345//compute/11"
|
94
|
+
name="one-11"/></COMPUTE_COLLECTION> '
|
95
|
+
http_version:
|
96
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
97
|
+
- request:
|
98
|
+
method: get
|
99
|
+
uri: https://nagios-probes-test:1b5834c03b1a9fda89b38c081a6d99af634b046e@localhost:2345/storage
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ''
|
103
|
+
headers:
|
104
|
+
Accept:
|
105
|
+
- ! '*/*'
|
106
|
+
- application/xml
|
107
|
+
User-Agent:
|
108
|
+
- Ruby
|
109
|
+
Connection:
|
110
|
+
- keep-alive
|
111
|
+
Keep-Alive:
|
112
|
+
- 30
|
113
|
+
response:
|
114
|
+
status:
|
115
|
+
code: 200
|
116
|
+
message: OK
|
117
|
+
headers:
|
118
|
+
Date:
|
119
|
+
- Thu, 11 Apr 2013 09:24:04 GMT
|
120
|
+
Server:
|
121
|
+
- thin 1.3.1 codename Triple Espresso
|
122
|
+
X-Frame-Options:
|
123
|
+
- sameorigin
|
124
|
+
X-Xss-Protection:
|
125
|
+
- 1; mode=block
|
126
|
+
Content-Type:
|
127
|
+
- application/xml;charset=utf-8
|
128
|
+
Cache-Control:
|
129
|
+
- no-store
|
130
|
+
Content-Length:
|
131
|
+
- '217'
|
132
|
+
Keep-Alive:
|
133
|
+
- timeout=5, max=100
|
134
|
+
Connection:
|
135
|
+
- Keep-Alive
|
136
|
+
body:
|
137
|
+
encoding: US-ASCII
|
138
|
+
string: ! '<STORAGE_COLLECTION><STORAGE href="https://localhost:2345//storage/6"
|
139
|
+
name="ttylinux - kvm"/><STORAGE href="https://localhost:2345//storage/7"
|
140
|
+
name="ttylinux - kvm2"/></STORAGE_COLLECTION> '
|
141
|
+
http_version:
|
142
|
+
recorded_at: Thu, 11 Apr 2013 09:24:04 GMT
|
143
|
+
recorded_with: VCR 2.4.0
|