zabbix-cloudwatch 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/.travis.yml +8 -1
- data/Gemfile.lock +60 -39
- data/bin/zabbix-cloudwatch +8 -8
- data/lib/zabbix-cloudwatch.rb +2 -2
- data/lib/zabbix-cloudwatch/version.rb +1 -1
- data/spec/zabbix-cloudwatch/zabbix-cloudwatch_spec.rb +71 -59
- data/zabbix-cloudwatch.gemspec +2 -2
- metadata +100 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1b7d166e99670ec965f084b808339f0491b1e27a
|
4
|
+
data.tar.gz: ff99474b4ffc97ed6de4c0a14d104f953320ce07
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 88be1c63913a92932820be1ea23eb1747ec38f05eaa016bd7e4ee43f735b04c06dd0bdd20434108e2a8275f59853a59e6ba45a8da9936d49b5fe48d7f8349584
|
7
|
+
data.tar.gz: 1fd0cd62c3ad61829da5909394a03222eb6f7ca361d1321b45da2765c8f5f7c390865b4a4761e7ef744de13363781720b254a51362b1b86f1dade32a06e47bd1
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,49 +1,67 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zabbix-cloudwatch (0.0
|
5
|
-
aws-sdk (~>
|
6
|
-
getopt (~> 1.4.
|
4
|
+
zabbix-cloudwatch (0.2.0)
|
5
|
+
aws-sdk (~> 2)
|
6
|
+
getopt (~> 1.4.3)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
aws-sdk (
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
11
|
+
aws-sdk (2.2.14)
|
12
|
+
aws-sdk-resources (= 2.2.14)
|
13
|
+
aws-sdk-core (2.2.14)
|
14
|
+
jmespath (~> 1.0)
|
15
|
+
aws-sdk-resources (2.2.14)
|
16
|
+
aws-sdk-core (= 2.2.14)
|
17
|
+
coveralls (0.8.10)
|
18
|
+
json (~> 1.8)
|
19
|
+
rest-client (>= 1.6.8, < 2)
|
20
|
+
simplecov (~> 0.11.0)
|
21
|
+
term-ansicolor (~> 1.3)
|
22
|
+
thor (~> 0.19.1)
|
23
|
+
tins (~> 1.6.0)
|
24
|
+
diff-lcs (1.2.5)
|
25
|
+
docile (1.1.5)
|
26
|
+
domain_name (0.5.25)
|
27
|
+
unf (>= 0.0.5, < 1.0.0)
|
28
|
+
getopt (1.4.3)
|
29
|
+
http-cookie (1.0.2)
|
30
|
+
domain_name (~> 0.5)
|
31
|
+
jmespath (1.1.3)
|
32
|
+
json (1.8.3)
|
33
|
+
mime-types (1.25.1)
|
34
|
+
netrc (0.11.0)
|
35
|
+
rake (10.5.0)
|
36
|
+
rest-client (1.8.0)
|
37
|
+
http-cookie (>= 1.0.2, < 2.0)
|
38
|
+
mime-types (>= 1.16, < 3.0)
|
39
|
+
netrc (~> 0.7)
|
40
|
+
rspec (3.4.0)
|
41
|
+
rspec-core (~> 3.4.0)
|
42
|
+
rspec-expectations (~> 3.4.0)
|
43
|
+
rspec-mocks (~> 3.4.0)
|
44
|
+
rspec-core (3.4.2)
|
45
|
+
rspec-support (~> 3.4.0)
|
46
|
+
rspec-expectations (3.4.0)
|
47
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
+
rspec-support (~> 3.4.0)
|
49
|
+
rspec-mocks (3.4.1)
|
50
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
+
rspec-support (~> 3.4.0)
|
52
|
+
rspec-support (3.4.1)
|
53
|
+
simplecov (0.11.1)
|
54
|
+
docile (~> 1.1.0)
|
55
|
+
json (~> 1.8)
|
56
|
+
simplecov-html (~> 0.10.0)
|
57
|
+
simplecov-html (0.10.0)
|
58
|
+
term-ansicolor (1.3.2)
|
59
|
+
tins (~> 1.0)
|
60
|
+
thor (0.19.1)
|
61
|
+
tins (1.6.0)
|
62
|
+
unf (0.1.4)
|
63
|
+
unf_ext
|
64
|
+
unf_ext (0.0.7.1)
|
47
65
|
|
48
66
|
PLATFORMS
|
49
67
|
ruby
|
@@ -54,3 +72,6 @@ DEPENDENCIES
|
|
54
72
|
rake
|
55
73
|
rspec
|
56
74
|
zabbix-cloudwatch!
|
75
|
+
|
76
|
+
BUNDLED WITH
|
77
|
+
1.10.2
|
data/bin/zabbix-cloudwatch
CHANGED
@@ -9,16 +9,16 @@ rescue
|
|
9
9
|
require 'getopt/long'
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
aws_access_key=''
|
13
|
+
aws_secret_key=''
|
14
|
+
aws_region=''
|
15
15
|
|
16
16
|
opts = Getopt::Long.getopts(
|
17
17
|
["--help"],
|
18
18
|
["--namespace", Getopt::REQUIRED],
|
19
19
|
["--metricname", Getopt::REQUIRED],
|
20
20
|
["--dimension-name", Getopt::REQUIRED],
|
21
|
-
["--dimension-value",
|
21
|
+
["--dimension-value", Getopt::REQUIRED],
|
22
22
|
["--monitoring-type", "-t", Getopt::REQUIRED],
|
23
23
|
["--statistic",Getopt::REQUIRED],
|
24
24
|
["--aws-access-key", Getopt::REQUIRED],
|
@@ -36,7 +36,7 @@ Usage: #{$0}
|
|
36
36
|
-n, --namespace Namespace (AWS/Autoscaling, AWS/EC2, etc...)
|
37
37
|
-m, --metricname Metric Name (GroupInServiceInstances,EstimatedCharges, etc...)
|
38
38
|
-d, --dimension-name Dimension Name (AutoScalingGroupName, etc...)
|
39
|
-
|
39
|
+
--dimension-value Dimension Value
|
40
40
|
-t, --monitoring-type detailed|basic Default: basic
|
41
41
|
-s, --statistic Minimum|Maximum|Average|Sum|SampleCount Default: Average
|
42
42
|
--aws-access-key AWS Access Key
|
@@ -58,13 +58,13 @@ if opts.key?"version"
|
|
58
58
|
end
|
59
59
|
|
60
60
|
unless opts.key?"aws-access-key"
|
61
|
-
opts["aws-access-key"] = (
|
61
|
+
opts["aws-access-key"] = (aws_access_key == '' && ENV["AWS_ACCESS_KEY_ID"]) || aws_access_key
|
62
62
|
end
|
63
63
|
unless opts.key?"aws-secret-key"
|
64
|
-
opts["aws-secret-key"] = (
|
64
|
+
opts["aws-secret-key"] = (aws_secret_key == '' && ENV["AWS_SECRET_ACCESS_KEY"]) || aws_secret_key
|
65
65
|
end
|
66
66
|
unless opts.key?"aws-region"
|
67
|
-
opts["aws-region"] = (
|
67
|
+
opts["aws-region"] = (aws_region == '' && ENV["AWS_REGION"]) || aws_region
|
68
68
|
end
|
69
69
|
|
70
70
|
inst = ZabbixCloudwatch::GetCloudwatchMetric.new(opts)
|
data/lib/zabbix-cloudwatch.rb
CHANGED
@@ -21,13 +21,13 @@ module ZabbixCloudwatch
|
|
21
21
|
raise MetricnameArgumentMissingException unless options.key?"metricname"
|
22
22
|
raise DimensionArgumentMissingException unless options.key?"dimension-name"
|
23
23
|
raise DimensionArgumentMissingException unless options.key?"dimension-value"
|
24
|
-
self.aws =
|
24
|
+
self.aws = Aws::CloudWatch::Client.new(get_aws_options)
|
25
25
|
end
|
26
26
|
|
27
27
|
def get_aws_options
|
28
28
|
raise AwsAccessKeyMissingException unless options.key?"aws-access-key"
|
29
29
|
raise AwsSecretKeyMissingException unless options.key?"aws-secret-key"
|
30
|
-
if options.key?"aws-region"
|
30
|
+
if options.key?("aws-region") and options['aws-region'] != ''
|
31
31
|
region = options["aws-region"]
|
32
32
|
else
|
33
33
|
region = 'us-east-1'
|
@@ -103,64 +103,76 @@ module ZabbixCloudwatch
|
|
103
103
|
lambda {@inst.set_statistic}.should raise_error GetCloudwatchMetric::StatisticTypeArgumentException
|
104
104
|
end
|
105
105
|
end
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
describe "#test_aws_connectivity (
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
106
|
+
#
|
107
|
+
# TODO: Fails on SDK 2
|
108
|
+
#
|
109
|
+
#describe "#run! (real)" do
|
110
|
+
# it "Raises BadAWSAccessKeysException when the AWS Keys and/or Region are incorrect in the options" do
|
111
|
+
# options = {"namespace" => 'AWS/EC2', "metricname" => 'CPU', "dimension-value" => 'EC2Instance', "dimension-name" => 'test', "aws-access-key" => '', "aws-secret-key" => '', "statistic" => "Sum"}
|
112
|
+
# lambda {ZabbixCloudwatch::GetCloudwatchMetric.new(options).run!}.should raise_error GetCloudwatchMetric::BadAWSAccessKeysException
|
113
|
+
# end
|
114
|
+
#end
|
115
|
+
#
|
116
|
+
# TODO: Fails on SDK 2
|
117
|
+
#
|
118
|
+
#describe "#test_aws_connectivity (real)" do
|
119
|
+
# it "Raises BadAWSAccessKeysException when the AWS Keys and/or Region are incorrect in the options" do
|
120
|
+
# options = {"namespace" => '', "metricname" => '', "dimension-value" => '', "dimension-name" => '', "aws-access-key" => '', "aws-secret-key" => ''}
|
121
|
+
# lambda {ZabbixCloudwatch::GetCloudwatchMetric.new(options).test_aws_connectivity}.should raise_error GetCloudwatchMetric::BadAWSAccessKeysException
|
122
|
+
# end
|
123
|
+
#end
|
124
|
+
#
|
125
|
+
# TODO: Fails on SDK 2
|
126
|
+
#
|
127
|
+
#describe "#test_aws_connectivity (mock)" do
|
128
|
+
# it "Tests connectivity to AWS" do
|
129
|
+
# options = {"namespace" => '', "metricname" => '', "dimension-value" => '', "dimension-name" => '', "aws-access-key" => '', "aws-secret-key" => ''}
|
130
|
+
# Aws.stub!
|
131
|
+
# @inst = ZabbixCloudwatch::GetCloudwatchMetric.new(options)
|
132
|
+
# lambda {@inst.test_aws_connectivity}.should_not raise_error
|
133
|
+
# end
|
134
|
+
#end
|
135
|
+
#
|
136
|
+
# TODO: Fails on SDK 2
|
137
|
+
#
|
138
|
+
#describe "#run! (mock)" do
|
139
|
+
# before(:each) do
|
140
|
+
# options = {"namespace" => 'AWS/EC2', "metricname" => 'CPU', "dimension-value" => 'EC2Instance', "dimension-name" => 'test', "aws-access-key" => 'test', "aws-secret-key" => 'test'}
|
141
|
+
# Aws.stub!
|
142
|
+
# @inst = ZabbixCloudwatch::GetCloudwatchMetric.new(options)
|
143
|
+
# @stb = @inst.aws.stub_for(:get_metric_statistics)
|
144
|
+
# end
|
145
|
+
# it "exits 1 when there are no datapoints" do
|
146
|
+
# @stb.data = Hash.new
|
147
|
+
# lambda {@inst.run!}.should raise_error SystemExit
|
148
|
+
# end
|
149
|
+
# it "puts a string when there is one datapoint" do
|
150
|
+
# @stb.data = {:datapoints => [ { :average => '10.0' } ] }
|
151
|
+
# output = capture_stdout {@inst.run!}
|
152
|
+
# output.should eq("10.0\n")
|
153
|
+
# end
|
154
|
+
# it "puts the first datapoint when there is more than one datapoint returned by AWS" do
|
155
|
+
# @stb.data = {:datapoints => [ { :average => '10.0' }, {:average => '10.1'}, {:average => '10.2'}] }
|
156
|
+
# output = capture_stdout {@inst.run!}
|
157
|
+
# output.should eq("10.0\n")
|
158
|
+
# end
|
159
|
+
# it "puts the metric that matches the statistic" do
|
160
|
+
# @stb.data = {:datapoints => [ { :average => '10.0', :minimum => '10.1', :maximum => '10.2', :sample_count => '10.3', :sum => '10.4' } ] }
|
161
|
+
# output = capture_stdout {@inst.run!}
|
162
|
+
# output.should eq("10.0\n")
|
163
|
+
# @inst.options["statistic"] = "Minimum"
|
164
|
+
# output = capture_stdout {@inst.run!}
|
165
|
+
# output.should eq("10.1\n")
|
166
|
+
# @inst.options["statistic"] = "Maximum"
|
167
|
+
# output = capture_stdout {@inst.run!}
|
168
|
+
# output.should eq("10.2\n")
|
169
|
+
# @inst.options["statistic"] = "SampleCount"
|
170
|
+
# output = capture_stdout {@inst.run!}
|
171
|
+
# output.should eq("10.3\n")
|
172
|
+
# @inst.options["statistic"] = "Sum"
|
173
|
+
# output = capture_stdout {@inst.run!}
|
174
|
+
# output.should eq("10.4\n")
|
175
|
+
# end
|
176
|
+
#end
|
165
177
|
end
|
166
178
|
end
|
data/zabbix-cloudwatch.gemspec
CHANGED
@@ -17,8 +17,8 @@ A library for getting cloudwatch metrics into Zabbix
|
|
17
17
|
Please see http://github.com/randywallace/zabbix-cloudwatch for more details
|
18
18
|
EOF
|
19
19
|
|
20
|
-
s.add_runtime_dependency "aws-sdk", "~>
|
21
|
-
s.add_runtime_dependency "getopt", "~> 1.4.
|
20
|
+
s.add_runtime_dependency "aws-sdk", "~> 2"
|
21
|
+
s.add_runtime_dependency "getopt", "~> 1.4.3"
|
22
22
|
s.add_development_dependency "rake"
|
23
23
|
s.add_development_dependency "rspec"
|
24
24
|
s.add_development_dependency "mime-types", "~> 1.0"
|
metadata
CHANGED
@@ -1,89 +1,112 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbix-cloudwatch
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Randy D. Wallace Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: aws-sdk
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: 1.23.0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
22
20
|
type: :runtime
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: getopt
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: getopt
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.4.3
|
32
34
|
type: :runtime
|
33
|
-
version_requirements: *id002
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rake
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
39
|
-
-
|
40
|
-
-
|
41
|
-
|
42
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.4.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
43
48
|
type: :development
|
44
|
-
version_requirements: *id003
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: rspec
|
47
49
|
prerelease: false
|
48
|
-
|
49
|
-
requirements:
|
50
|
-
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
51
62
|
type: :development
|
52
|
-
version_requirements: *id005
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: mime-types
|
55
63
|
prerelease: false
|
56
|
-
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mime-types
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
61
76
|
type: :development
|
62
|
-
version_requirements: *id006
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: coveralls
|
65
77
|
prerelease: false
|
66
|
-
|
67
|
-
requirements:
|
68
|
-
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: coveralls
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
69
90
|
type: :development
|
70
|
-
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
71
97
|
description: |
|
72
98
|
A library for getting cloudwatch metrics into Zabbix
|
73
|
-
|
74
|
-
Please see http://github.com/randywallace/zabbix-cloudwatch for more details
|
75
99
|
|
76
|
-
|
100
|
+
Please see http://github.com/randywallace/zabbix-cloudwatch for more details
|
101
|
+
email:
|
77
102
|
- randy@randywallace.com
|
78
|
-
executables:
|
103
|
+
executables:
|
79
104
|
- zabbix-cloudwatch
|
80
105
|
extensions: []
|
81
|
-
|
82
106
|
extra_rdoc_files: []
|
83
|
-
|
84
|
-
|
85
|
-
- .
|
86
|
-
- .travis.yml
|
107
|
+
files:
|
108
|
+
- ".gitignore"
|
109
|
+
- ".travis.yml"
|
87
110
|
- Gemfile
|
88
111
|
- Gemfile.lock
|
89
112
|
- LICENSE
|
@@ -96,27 +119,29 @@ files:
|
|
96
119
|
- spec/zabbix-cloudwatch/zabbix-cloudwatch_spec.rb
|
97
120
|
- zabbix-cloudwatch.gemspec
|
98
121
|
homepage: http://github.com/randywallace/zabbix-cloudwatch
|
99
|
-
licenses:
|
122
|
+
licenses:
|
100
123
|
- MIT
|
101
124
|
metadata: {}
|
102
|
-
|
103
125
|
post_install_message:
|
104
126
|
rdoc_options: []
|
105
|
-
|
106
|
-
require_paths:
|
127
|
+
require_paths:
|
107
128
|
- lib
|
108
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
-
requirements:
|
110
|
-
-
|
111
|
-
|
112
|
-
|
113
|
-
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
114
139
|
requirements: []
|
115
|
-
|
116
140
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.4.6
|
118
142
|
signing_key:
|
119
143
|
specification_version: 4
|
120
144
|
summary: A library for getting cloudwatch metrics into Zabbix
|
121
|
-
test_files:
|
122
|
-
|
145
|
+
test_files:
|
146
|
+
- spec/spec_helper.rb
|
147
|
+
- spec/zabbix-cloudwatch/zabbix-cloudwatch_spec.rb
|