sensu-plugins-varnish 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-varnish-status.rb +1 -1
- data/lib/sensu-plugins-varnish/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21c1892e1d19d79f7608136ea9e0233d0b8bc22b
|
4
|
+
data.tar.gz: e2b5c364a400be16b7ab26afcc04530ba0e8eed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe9b598679d4e737bb6a674d2ec5585ddd9917aec18077b85043321bbaca7f54b8ea638e762d598e9f888d6da40a2f05637749113f017c023e022cc229d3a6b0
|
7
|
+
data.tar.gz: f201ac1380cfca5a4e24227d0d447a20bae634692a088be5355df68f98ae15f09ceff843f4b585f2955eef0a5e17c3aaf61d9e2f29e626522c1f2f05db711b42
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [1.1.2] - 2017-08-29
|
9
|
+
### Fixed
|
10
|
+
- updated backend status check to include new Varnish command `backend.list` (@shaun-rutherford)
|
11
|
+
|
8
12
|
## [1.1.1] - 2017-08-18
|
9
13
|
### Fixed
|
10
14
|
- `which` returns a newline terminated string in all cases - strip it before trying to run the command otherwise the generated command will be split over two lines and fail (@warmfusion)
|
@@ -55,7 +59,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
55
59
|
### Added
|
56
60
|
- initial release
|
57
61
|
|
58
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/1.1.
|
62
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/1.1.1...HEAD
|
63
|
+
[1.1.2]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/1.1.1...1.1.2
|
59
64
|
[1.1.1]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/1.1.0...1.1.1
|
60
65
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/1.0.0...1.1.0
|
61
66
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-varnish/compare/0.1.0...1.0.0
|
data/bin/check-varnish-status.rb
CHANGED
@@ -88,7 +88,7 @@ class CheckVarnishStatus < Sensu::Plugin::Check::CLI
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
if config[:command] == 'debug.health'
|
91
|
+
if config[:command] == 'debug.health' || config[:command] == 'backend.list'
|
92
92
|
if command.downcase.include? 'sick'
|
93
93
|
critical 'Sick backends detected'
|
94
94
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-varnish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.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-08-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: crack
|