nagios-promoo 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nagios/promoo/appdb/master.rb +1 -1
- data/lib/nagios/promoo/appdb/probes/appliances_probe.rb +14 -11
- data/lib/nagios/promoo/appdb/probes/base_probe.rb +27 -8
- data/lib/nagios/promoo/appdb/probes/sizes_probe.rb +15 -12
- data/lib/nagios/promoo/appdb/probes/vmcatcher_probe.rb +57 -69
- data/lib/nagios/promoo/appdb/version.rb +1 -1
- data/lib/nagios/promoo/occi/master.rb +1 -1
- data/lib/nagios/promoo/occi/probes/base_probe.rb +8 -2
- data/lib/nagios/promoo/occi/probes/categories_probe.rb +18 -20
- data/lib/nagios/promoo/occi/probes/compute_probe.rb +75 -68
- data/lib/nagios/promoo/occi/probes/kinds_probe.rb +17 -19
- data/lib/nagios/promoo/occi/probes/mixins_probe.rb +7 -9
- data/lib/nagios/promoo/occi/version.rb +1 -1
- data/lib/nagios/promoo/opennebula/master.rb +1 -1
- data/lib/nagios/promoo/opennebula/probes/base_probe.rb +9 -3
- data/lib/nagios/promoo/opennebula/probes/virtual_machine_probe.rb +42 -44
- data/lib/nagios/promoo/opennebula/probes/xmlrpc_health_probe.rb +7 -10
- data/lib/nagios/promoo/opennebula/version.rb +1 -1
- data/lib/nagios/promoo/version.rb +1 -1
- data/nagios-promoo.gemspec +14 -14
- metadata +125 -47
@@ -36,35 +36,33 @@ class Nagios::Promoo::Occi::Probes::KindsProbe < Nagios::Promoo::Occi::Probes::B
|
|
36
36
|
http://schemas.ogf.org/occi/infrastructure#networkinterface
|
37
37
|
)
|
38
38
|
|
39
|
-
def run(
|
39
|
+
def run(args = [])
|
40
40
|
kinds = []
|
41
41
|
kinds += CORE_KINDS if %w(core all).include?(options[:kinds])
|
42
42
|
kinds += INFRA_KINDS if %w(infra all).include?(options[:kinds])
|
43
43
|
kinds -= options[:optional] if options[:optional]
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
next unless options[:check_location] && INFRA_KINDS.include?(kind)
|
45
|
+
Timeout::timeout(options[:timeout]) do
|
46
|
+
kinds.each do |kind|
|
47
|
+
fail "#{kind.inspect} is missing" unless client.model.get_by_id(kind, true)
|
48
|
+
next unless options[:check_location] && INFRA_KINDS.include?(kind)
|
50
49
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
end
|
50
|
+
# Make sure declared locations are actually available as REST
|
51
|
+
# endpoints. Failure will raise an exception, no need to do
|
52
|
+
# anything here. To keep requirements reasonable, only INFRA
|
53
|
+
# kinds are considered relevant for this part of the check.
|
54
|
+
begin
|
55
|
+
client.list(kind)
|
56
|
+
rescue => err
|
57
|
+
fail "Failed to verify declared REST location for #{kind.inspect} (#{err.message})"
|
60
58
|
end
|
61
59
|
end
|
62
|
-
rescue => ex
|
63
|
-
puts "KINDS CRITICAL - #{ex.message}"
|
64
|
-
puts ex.backtrace if options[:debug]
|
65
|
-
exit 2
|
66
60
|
end
|
67
61
|
|
68
62
|
puts 'KINDS OK - All specified OCCI kinds were found'
|
63
|
+
rescue => ex
|
64
|
+
puts "KINDS CRITICAL - #{ex.message}"
|
65
|
+
puts ex.backtrace if options[:debug]
|
66
|
+
exit 2
|
69
67
|
end
|
70
68
|
end
|
@@ -31,22 +31,20 @@ class Nagios::Promoo::Occi::Probes::MixinsProbe < Nagios::Promoo::Occi::Probes::
|
|
31
31
|
http://schemas.openstack.org/compute/instance#user_data
|
32
32
|
)
|
33
33
|
|
34
|
-
def run(
|
34
|
+
def run(args = [])
|
35
35
|
mixins = []
|
36
36
|
mixins += INFRA_MIXINS if %w(infra all).include?(options[:mixins])
|
37
37
|
mixins += CONTEXT_MIXINS if %w(context all).include?(options[:mixins])
|
38
38
|
mixins -= options[:optional] if options[:optional]
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
mixins.each { |mixin| fail "#{mixin.inspect} is missing" unless client(options).model.get_by_id(mixin, true) }
|
43
|
-
}
|
44
|
-
rescue => ex
|
45
|
-
puts "MIXINS CRITICAL - #{ex.message}"
|
46
|
-
puts ex.backtrace if options[:debug]
|
47
|
-
exit 2
|
40
|
+
Timeout::timeout(options[:timeout]) do
|
41
|
+
mixins.each { |mixin| fail "#{mixin.inspect} is missing" unless client.model.get_by_id(mixin, true) }
|
48
42
|
end
|
49
43
|
|
50
44
|
puts 'MIXINS OK - All specified OCCI mixins were found'
|
45
|
+
rescue => ex
|
46
|
+
puts "MIXINS CRITICAL - #{ex.message}"
|
47
|
+
puts ex.backtrace if options[:debug]
|
48
|
+
exit 2
|
51
49
|
end
|
52
50
|
end
|
@@ -3,10 +3,16 @@ class Nagios::Promoo::Opennebula::Probes::BaseProbe
|
|
3
3
|
def runnable?; false; end
|
4
4
|
end
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
attr_reader :options
|
7
|
+
|
8
|
+
def initialize(options)
|
9
|
+
@options = options
|
10
|
+
end
|
11
|
+
|
12
|
+
def client
|
13
|
+
return @_client if @_client
|
8
14
|
|
9
15
|
token = options[:token].start_with?('file://') ? File.read(options[:token].gsub('file://', '')) : options[:token]
|
10
|
-
@
|
16
|
+
@_client = OpenNebula::Client.new("#{token}", options[:endpoint])
|
11
17
|
end
|
12
18
|
end
|
@@ -24,74 +24,72 @@ class Nagios::Promoo::Opennebula::Probes::VirtualMachineProbe < Nagios::Promoo::
|
|
24
24
|
|
25
25
|
VM_NAME_PREFIX = "nagios-promoo"
|
26
26
|
|
27
|
-
def run(
|
27
|
+
def run(args = [])
|
28
28
|
fail "Timeout (#{options[:timeout]}) must be higher than "\
|
29
29
|
"vm-timeout (#{options[:vm_timeout]}) " if options[:timeout] <= options[:vm_timeout]
|
30
30
|
|
31
|
-
|
31
|
+
@_virtual_machine = nil
|
32
|
+
|
33
|
+
Timeout::timeout(options[:timeout]) {
|
34
|
+
cleanup if options[:cleanup]
|
35
|
+
create
|
36
|
+
wait4running
|
37
|
+
}
|
38
|
+
|
39
|
+
puts "VirtualMachine OK - Instance #{@_virtual_machine.id.inspect} of template "\
|
40
|
+
"#{options[:template].inspect} successfully created & cleaned up"
|
41
|
+
rescue => ex
|
42
|
+
puts "VirtualMachine CRITICAL - #{ex.message}"
|
43
|
+
puts ex.backtrace if options[:debug]
|
44
|
+
exit 2
|
45
|
+
ensure
|
32
46
|
begin
|
33
|
-
|
34
|
-
cleanup(options) if options[:cleanup]
|
35
|
-
vm = create(options)
|
36
|
-
wait4running(options, vm)
|
37
|
-
}
|
47
|
+
cleanup @_virtual_machine unless @_virtual_machine.blank?
|
38
48
|
rescue => ex
|
39
|
-
|
40
|
-
puts ex.backtrace if options[:debug]
|
41
|
-
exit 2
|
42
|
-
ensure
|
43
|
-
begin
|
44
|
-
cleanup(options, vm) unless vm.blank?
|
45
|
-
rescue => ex
|
46
|
-
## ignoring
|
47
|
-
end
|
49
|
+
## ignoring
|
48
50
|
end
|
49
|
-
|
50
|
-
puts "VirtualMachine OK - Instance #{vm.id.inspect} of template "\
|
51
|
-
"#{options[:template].inspect} successfully created & cleaned up"
|
52
51
|
end
|
53
52
|
|
54
53
|
private
|
55
54
|
|
56
|
-
def cleanup(
|
57
|
-
|
55
|
+
def cleanup(virtual_machine = nil)
|
56
|
+
virtual_machine ? shutdown_or_delete(virtual_machine) : search_and_destroy
|
58
57
|
end
|
59
58
|
|
60
|
-
def create
|
61
|
-
template_pool = OpenNebula::TemplatePool.new(client
|
59
|
+
def create
|
60
|
+
template_pool = OpenNebula::TemplatePool.new(client)
|
62
61
|
rc = template_pool.info_all
|
63
62
|
fail rc.message if OpenNebula.is_error?(rc)
|
64
63
|
|
65
64
|
template = template_pool.select { |tpl| tpl.name == options[:template] }.first
|
66
65
|
fail "Template #{options[:template].inspect} could not be found" unless template
|
66
|
+
|
67
67
|
vm_id = template.instantiate("#{VM_NAME_PREFIX}-#{Time.now.to_i}")
|
68
68
|
fail vm_id.message if OpenNebula.is_error?(vm_id)
|
69
69
|
|
70
|
-
|
71
|
-
rc =
|
70
|
+
virtual_machine = OpenNebula::VirtualMachine.new(OpenNebula::VirtualMachine.build_xml(vm_id), client)
|
71
|
+
rc = virtual_machine.info
|
72
72
|
fail rc.message if OpenNebula.is_error?(rc)
|
73
73
|
|
74
|
-
|
74
|
+
@_virtual_machine = virtual_machine
|
75
75
|
end
|
76
76
|
|
77
|
-
def wait4running
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
exit 1
|
90
|
-
end
|
77
|
+
def wait4running
|
78
|
+
Timeout::timeout(options[:vm_timeout]) {
|
79
|
+
while @_virtual_machine.lcm_state_str != 'RUNNING' do
|
80
|
+
fail 'Instance deployment failed (resulting state is "*_FAILED")' if @_virtual_machine.lcm_state_str.include?('FAILURE')
|
81
|
+
rc = @_virtual_machine.info
|
82
|
+
fail rc.message if OpenNebula.is_error?(rc)
|
83
|
+
end
|
84
|
+
}
|
85
|
+
rescue Timeout::Error => ex
|
86
|
+
puts "VirtualMachine WARNING - Execution timed out while waiting for " \
|
87
|
+
"the instance to become active [#{options[:vm_timeout]}s]"
|
88
|
+
exit 1
|
91
89
|
end
|
92
90
|
|
93
|
-
def search_and_destroy
|
94
|
-
vm_pool = OpenNebula::VirtualMachinePool.new(client
|
91
|
+
def search_and_destroy
|
92
|
+
vm_pool = OpenNebula::VirtualMachinePool.new(client)
|
95
93
|
rc = vm_pool.info_mine
|
96
94
|
fail rc.message if OpenNebula.is_error?(rc)
|
97
95
|
|
@@ -101,8 +99,8 @@ class Nagios::Promoo::Opennebula::Probes::VirtualMachineProbe < Nagios::Promoo::
|
|
101
99
|
candidates.count
|
102
100
|
end
|
103
101
|
|
104
|
-
def shutdown_or_delete(
|
105
|
-
rc =
|
102
|
+
def shutdown_or_delete(virtual_machine)
|
103
|
+
rc = virtual_machine.terminate true
|
106
104
|
fail rc.message if OpenNebula.is_error?(rc)
|
107
105
|
end
|
108
106
|
end
|
@@ -18,17 +18,14 @@ class Nagios::Promoo::Opennebula::Probes::XmlrpcHealthProbe < Nagios::Promoo::Op
|
|
18
18
|
def runnable?; true; end
|
19
19
|
end
|
20
20
|
|
21
|
-
def run(
|
22
|
-
rc =
|
23
|
-
|
24
|
-
rc = Timeout::timeout(options[:timeout]) { client(options).get_version }
|
25
|
-
fail rc.message if OpenNebula.is_error?(rc)
|
26
|
-
rescue => ex
|
27
|
-
puts "XMLRPC CRITICAL - #{ex.message}"
|
28
|
-
puts ex.backtrace if options[:debug]
|
29
|
-
exit 2
|
30
|
-
end
|
21
|
+
def run(args = [])
|
22
|
+
rc = Timeout::timeout(options[:timeout]) { client.get_version }
|
23
|
+
fail rc.message if OpenNebula.is_error?(rc)
|
31
24
|
|
32
25
|
puts "XMLRPC OK - OpenNebula #{rc} daemon is up and running"
|
26
|
+
rescue => ex
|
27
|
+
puts "XMLRPC CRITICAL - #{ex.message}"
|
28
|
+
puts ex.backtrace if options[:debug]
|
29
|
+
exit 2
|
33
30
|
end
|
34
31
|
end
|
data/nagios-promoo.gemspec
CHANGED
@@ -18,21 +18,21 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'occi-api', '
|
22
|
-
spec.add_runtime_dependency 'opennebula', '
|
23
|
-
spec.add_runtime_dependency 'thor'
|
24
|
-
spec.add_runtime_dependency 'yell'
|
25
|
-
spec.add_runtime_dependency 'activesupport'
|
26
|
-
spec.add_runtime_dependency 'httparty'
|
27
|
-
spec.add_runtime_dependency 'ox'
|
21
|
+
spec.add_runtime_dependency 'occi-api', '>= 4.3.8', '< 5'
|
22
|
+
spec.add_runtime_dependency 'opennebula', '>= 5.2.1', '< 6'
|
23
|
+
spec.add_runtime_dependency 'thor', '>= 0.19.4', '< 1'
|
24
|
+
spec.add_runtime_dependency 'yell', '>= 2.0.7', '< 3'
|
25
|
+
spec.add_runtime_dependency 'activesupport', '>= 4.0', '< 5'
|
26
|
+
spec.add_runtime_dependency 'httparty', '>= 0.14', '< 1'
|
27
|
+
spec.add_runtime_dependency 'ox', '>= 2.4.9', '< 3'
|
28
28
|
|
29
|
-
spec.add_development_dependency 'bundler', '
|
30
|
-
spec.add_development_dependency 'rake', '
|
31
|
-
spec.add_development_dependency 'rspec', '
|
32
|
-
spec.add_development_dependency 'simplecov', '
|
33
|
-
spec.add_development_dependency 'rubygems-tasks', '
|
34
|
-
spec.add_development_dependency 'rubocop', '
|
35
|
-
spec.add_development_dependency 'pry', '
|
29
|
+
spec.add_development_dependency 'bundler', '>= 1.8', '< 2'
|
30
|
+
spec.add_development_dependency 'rake', '>= 10.0', '< 13'
|
31
|
+
spec.add_development_dependency 'rspec', '>= 3.0', '< 4'
|
32
|
+
spec.add_development_dependency 'simplecov', '>= 0.13', '< 1'
|
33
|
+
spec.add_development_dependency 'rubygems-tasks', '>= 0.2.4', '< 1'
|
34
|
+
spec.add_development_dependency 'rubocop', '>= 0.47', '< 1'
|
35
|
+
spec.add_development_dependency 'pry', '>= 0.10', '< 1'
|
36
36
|
|
37
37
|
spec.required_ruby_version = '>= 1.9.3'
|
38
38
|
end
|
metadata
CHANGED
@@ -1,217 +1,295 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nagios-promoo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Parak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: occi-api
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4.3'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.3.
|
19
|
+
version: 4.3.8
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '4.3'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
|
-
version: 4.3.
|
29
|
+
version: 4.3.8
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: opennebula
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 5.2.1
|
40
|
+
- - "<"
|
38
41
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
42
|
+
version: '6'
|
40
43
|
type: :runtime
|
41
44
|
prerelease: false
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
43
46
|
requirements:
|
44
|
-
- - "
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 5.2.1
|
50
|
+
- - "<"
|
45
51
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
52
|
+
version: '6'
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: thor
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
50
56
|
requirements:
|
51
57
|
- - ">="
|
52
58
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
59
|
+
version: 0.19.4
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1'
|
54
63
|
type: :runtime
|
55
64
|
prerelease: false
|
56
65
|
version_requirements: !ruby/object:Gem::Requirement
|
57
66
|
requirements:
|
58
67
|
- - ">="
|
59
68
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
69
|
+
version: 0.19.4
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1'
|
61
73
|
- !ruby/object:Gem::Dependency
|
62
74
|
name: yell
|
63
75
|
requirement: !ruby/object:Gem::Requirement
|
64
76
|
requirements:
|
65
77
|
- - ">="
|
66
78
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
79
|
+
version: 2.0.7
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3'
|
68
83
|
type: :runtime
|
69
84
|
prerelease: false
|
70
85
|
version_requirements: !ruby/object:Gem::Requirement
|
71
86
|
requirements:
|
72
87
|
- - ">="
|
73
88
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
89
|
+
version: 2.0.7
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3'
|
75
93
|
- !ruby/object:Gem::Dependency
|
76
94
|
name: activesupport
|
77
95
|
requirement: !ruby/object:Gem::Requirement
|
78
96
|
requirements:
|
79
97
|
- - ">="
|
80
98
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
99
|
+
version: '4.0'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '5'
|
82
103
|
type: :runtime
|
83
104
|
prerelease: false
|
84
105
|
version_requirements: !ruby/object:Gem::Requirement
|
85
106
|
requirements:
|
86
107
|
- - ">="
|
87
108
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
109
|
+
version: '4.0'
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '5'
|
89
113
|
- !ruby/object:Gem::Dependency
|
90
114
|
name: httparty
|
91
115
|
requirement: !ruby/object:Gem::Requirement
|
92
116
|
requirements:
|
93
117
|
- - ">="
|
94
118
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0'
|
119
|
+
version: '0.14'
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '1'
|
96
123
|
type: :runtime
|
97
124
|
prerelease: false
|
98
125
|
version_requirements: !ruby/object:Gem::Requirement
|
99
126
|
requirements:
|
100
127
|
- - ">="
|
101
128
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
129
|
+
version: '0.14'
|
130
|
+
- - "<"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '1'
|
103
133
|
- !ruby/object:Gem::Dependency
|
104
134
|
name: ox
|
105
135
|
requirement: !ruby/object:Gem::Requirement
|
106
136
|
requirements:
|
107
137
|
- - ">="
|
108
138
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
139
|
+
version: 2.4.9
|
140
|
+
- - "<"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '3'
|
110
143
|
type: :runtime
|
111
144
|
prerelease: false
|
112
145
|
version_requirements: !ruby/object:Gem::Requirement
|
113
146
|
requirements:
|
114
147
|
- - ">="
|
115
148
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
149
|
+
version: 2.4.9
|
150
|
+
- - "<"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3'
|
117
153
|
- !ruby/object:Gem::Dependency
|
118
154
|
name: bundler
|
119
155
|
requirement: !ruby/object:Gem::Requirement
|
120
156
|
requirements:
|
121
|
-
- - "
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.8'
|
160
|
+
- - "<"
|
122
161
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
162
|
+
version: '2'
|
124
163
|
type: :development
|
125
164
|
prerelease: false
|
126
165
|
version_requirements: !ruby/object:Gem::Requirement
|
127
166
|
requirements:
|
128
|
-
- - "
|
167
|
+
- - ">="
|
129
168
|
- !ruby/object:Gem::Version
|
130
|
-
version: '1.
|
169
|
+
version: '1.8'
|
170
|
+
- - "<"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '2'
|
131
173
|
- !ruby/object:Gem::Dependency
|
132
174
|
name: rake
|
133
175
|
requirement: !ruby/object:Gem::Requirement
|
134
176
|
requirements:
|
135
|
-
- - "
|
177
|
+
- - ">="
|
136
178
|
- !ruby/object:Gem::Version
|
137
179
|
version: '10.0'
|
180
|
+
- - "<"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '13'
|
138
183
|
type: :development
|
139
184
|
prerelease: false
|
140
185
|
version_requirements: !ruby/object:Gem::Requirement
|
141
186
|
requirements:
|
142
|
-
- - "
|
187
|
+
- - ">="
|
143
188
|
- !ruby/object:Gem::Version
|
144
189
|
version: '10.0'
|
190
|
+
- - "<"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '13'
|
145
193
|
- !ruby/object:Gem::Dependency
|
146
194
|
name: rspec
|
147
195
|
requirement: !ruby/object:Gem::Requirement
|
148
196
|
requirements:
|
149
|
-
- - "
|
197
|
+
- - ">="
|
150
198
|
- !ruby/object:Gem::Version
|
151
199
|
version: '3.0'
|
200
|
+
- - "<"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '4'
|
152
203
|
type: :development
|
153
204
|
prerelease: false
|
154
205
|
version_requirements: !ruby/object:Gem::Requirement
|
155
206
|
requirements:
|
156
|
-
- - "
|
207
|
+
- - ">="
|
157
208
|
- !ruby/object:Gem::Version
|
158
209
|
version: '3.0'
|
210
|
+
- - "<"
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '4'
|
159
213
|
- !ruby/object:Gem::Dependency
|
160
214
|
name: simplecov
|
161
215
|
requirement: !ruby/object:Gem::Requirement
|
162
216
|
requirements:
|
163
|
-
- - "
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0.13'
|
220
|
+
- - "<"
|
164
221
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
222
|
+
version: '1'
|
166
223
|
type: :development
|
167
224
|
prerelease: false
|
168
225
|
version_requirements: !ruby/object:Gem::Requirement
|
169
226
|
requirements:
|
170
|
-
- - "
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.13'
|
230
|
+
- - "<"
|
171
231
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
232
|
+
version: '1'
|
173
233
|
- !ruby/object:Gem::Dependency
|
174
234
|
name: rubygems-tasks
|
175
235
|
requirement: !ruby/object:Gem::Requirement
|
176
236
|
requirements:
|
177
|
-
- - "
|
237
|
+
- - ">="
|
178
238
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
239
|
+
version: 0.2.4
|
240
|
+
- - "<"
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '1'
|
180
243
|
type: :development
|
181
244
|
prerelease: false
|
182
245
|
version_requirements: !ruby/object:Gem::Requirement
|
183
246
|
requirements:
|
184
|
-
- - "
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: 0.2.4
|
250
|
+
- - "<"
|
185
251
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
252
|
+
version: '1'
|
187
253
|
- !ruby/object:Gem::Dependency
|
188
254
|
name: rubocop
|
189
255
|
requirement: !ruby/object:Gem::Requirement
|
190
256
|
requirements:
|
191
|
-
- - "
|
257
|
+
- - ">="
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0.47'
|
260
|
+
- - "<"
|
192
261
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
262
|
+
version: '1'
|
194
263
|
type: :development
|
195
264
|
prerelease: false
|
196
265
|
version_requirements: !ruby/object:Gem::Requirement
|
197
266
|
requirements:
|
198
|
-
- - "
|
267
|
+
- - ">="
|
199
268
|
- !ruby/object:Gem::Version
|
200
|
-
version: '0.
|
269
|
+
version: '0.47'
|
270
|
+
- - "<"
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '1'
|
201
273
|
- !ruby/object:Gem::Dependency
|
202
274
|
name: pry
|
203
275
|
requirement: !ruby/object:Gem::Requirement
|
204
276
|
requirements:
|
205
|
-
- - "
|
277
|
+
- - ">="
|
206
278
|
- !ruby/object:Gem::Version
|
207
279
|
version: '0.10'
|
280
|
+
- - "<"
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: '1'
|
208
283
|
type: :development
|
209
284
|
prerelease: false
|
210
285
|
version_requirements: !ruby/object:Gem::Requirement
|
211
286
|
requirements:
|
212
|
-
- - "
|
287
|
+
- - ">="
|
213
288
|
- !ruby/object:Gem::Version
|
214
289
|
version: '0.10'
|
290
|
+
- - "<"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '1'
|
215
293
|
description: Nagios Probes for Monitoring OpenNebula and OCCI
|
216
294
|
email:
|
217
295
|
- parak@cesnet.cz
|
@@ -276,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
354
|
version: '0'
|
277
355
|
requirements: []
|
278
356
|
rubyforge_project:
|
279
|
-
rubygems_version: 2.
|
357
|
+
rubygems_version: 2.6.8
|
280
358
|
signing_key:
|
281
359
|
specification_version: 4
|
282
360
|
summary: Nagios Probes for Monitoring OpenNebula and OCCI
|