sumo-check-es 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/sumo-check-snapshots.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea77f14c48f54110d632038a969bbb2e1a858618667e2c941244f2a3568e88dd
|
4
|
+
data.tar.gz: 0527f0e1d456caa373dd80b916f3ce28daf7e8e37a125cf55bde307c52aece52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3cba41daea939d6f03f880350198b22bc045c34eb1bd7c9d28909dcbb7cda75cf6f46d744bdb9c85d9b61e769ef35059dd15698eeeeaba60b94f5543ae7d2d5
|
7
|
+
data.tar.gz: 32f023208d4b2c45f2016e93e9eb465cfc7b2cc6f9ca7215a4415d2df54cd5efbd376af24f279f15f3636d6e061bb06de4185f86f30948691d2041bd3e7b15c6
|
data/bin/sumo-check-snapshots.rb
CHANGED
@@ -72,7 +72,7 @@ class SensuCheckSnapshotStatus < Sensu::Plugin::Check::CLI
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
if !data["body"]["snapshots"].length.between?(config[:min_num_snapshots],config[:max_num_snapshots])
|
75
|
+
if !data["body"]["snapshots"].length.between?(config[:min_num_snapshots].to_i,config[:max_num_snapshots].to_i)
|
76
76
|
error_msgs.push("snapshot count at #{data["body"]["snapshots"].length} is outside of allowed range of #{config[:min_num_snapshots]} to #{config[:max_num_snapshots]}")
|
77
77
|
end
|
78
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sumo-check-es
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr. Ogg
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.6.
|
148
|
+
rubygems_version: 2.7.6.2
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Sumo Sensu gem for elasticsearch checks
|