sensu-plugins-redis 2.2.1 → 2.2.2
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 +5 -5
- data/CHANGELOG.md +6 -1
- data/bin/check-redis-keys.rb +2 -2
- data/lib/sensu-plugins-redis/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6b389cd7b78b934753cd9e463e1f329a94b8367d2dd98dc7d1929be572e5b576
|
|
4
|
+
data.tar.gz: 56bcdc9d0ee8b70a9cefb8d307783b5c9a889c109c02820daa7f06baab5cb750
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bb49bbd68e4e6184e42bc204598dbb66212518f8b9d239e61961a3d3ab148a673db25cbcf004e3e774025a9adae0992e92fc8d051eeafd8aa2bfc2484230b2f
|
|
7
|
+
data.tar.gz: 55c5d91651c5f1c271548358212c7c47f3e8e991fb63f7003d7a4da453529baf27d3e4e3130fb32dc21084cd225d9fc311796feddca50a07af833d1f4a68b22f
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.2.2] - 2017-11-03
|
|
10
|
+
### Fixed
|
|
11
|
+
- check-redis-key.rb: Fix the wording of the check output on warning/critical states (@evesy)
|
|
12
|
+
|
|
9
13
|
## [2.2.1] - 2017-09-14
|
|
10
14
|
### Fixed
|
|
11
15
|
- ensure that `--timeout` option is an integer (@empyrean987)
|
|
@@ -114,7 +118,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
|
114
118
|
### Added
|
|
115
119
|
- initial release
|
|
116
120
|
|
|
117
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.
|
|
121
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.2...HEAD
|
|
122
|
+
[2.2.2]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.1...2.2.2
|
|
118
123
|
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.0...2.2.1
|
|
119
124
|
[2.2.0]:https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.1.0...2.2.0
|
|
120
125
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.0.1...2.1.0
|
data/bin/check-redis-keys.rb
CHANGED
|
@@ -96,9 +96,9 @@ class RedisKeysCheck < Sensu::Plugin::Check::CLI
|
|
|
96
96
|
length = redis.keys(config[:pattern]).size
|
|
97
97
|
|
|
98
98
|
if length < config[:crit]
|
|
99
|
-
critical "'keys #{config[:pattern]}' returned #{length} keys, which is below the
|
|
99
|
+
critical "'keys #{config[:pattern]}' returned #{length} keys, which is below the critical limit of #{config[:crit]}"
|
|
100
100
|
elsif length < config[:warn]
|
|
101
|
-
warning "'keys #{config[:pattern]}' returned #{length} keys, which is below the
|
|
101
|
+
warning "'keys #{config[:pattern]}' returned #{length} keys, which is below the warning limit of #{config[:warn]}"
|
|
102
102
|
else
|
|
103
103
|
ok "Redis list #{config[:pattern]} length is above thresholds"
|
|
104
104
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-redis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
224
224
|
version: '0'
|
|
225
225
|
requirements: []
|
|
226
226
|
rubyforge_project:
|
|
227
|
-
rubygems_version: 2.
|
|
227
|
+
rubygems_version: 2.7.2
|
|
228
228
|
signing_key:
|
|
229
229
|
specification_version: 4
|
|
230
230
|
summary: Sensu plugins for working with redis
|