sensu-plugins-varnish 1.1.1 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bb123e60a211227bf52003d63bd5c35722e1438
4
- data.tar.gz: 210c42bf554975d06d9d3b67b7715e905d0dd33e
3
+ metadata.gz: 21c1892e1d19d79f7608136ea9e0233d0b8bc22b
4
+ data.tar.gz: e2b5c364a400be16b7ab26afcc04530ba0e8eed2
5
5
  SHA512:
6
- metadata.gz: cb7369976fff7287ceef9924f0f551eec9f4ac398388a55138d9772e30fa9bf1254b0b21e186faab671388bf5f51ae966cbe145fda5763d6ce7736fd382ad16f
7
- data.tar.gz: eee1e5fe3632d8d4f8e2897060931ff58c29e18e0a544ebc3cb6110ed6cee542f7a6f5fe169b9db0e6509e9bec37c5a94dd9f66c1303c3d9e78554a6fbf31ec7
6
+ metadata.gz: fe9b598679d4e737bb6a674d2ec5585ddd9917aec18077b85043321bbaca7f54b8ea638e762d598e9f888d6da40a2f05637749113f017c023e022cc229d3a6b0
7
+ data.tar.gz: f201ac1380cfca5a4e24227d0d447a20bae634692a088be5355df68f98ae15f09ceff843f4b585f2955eef0a5e17c3aaf61d9e2f29e626522c1f2f05db711b42
@@ -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.0...HEAD
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
@@ -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
@@ -2,7 +2,7 @@ module SensuPluginsVarnish
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.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-18 00:00:00.000000000 Z
11
+ date: 2017-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crack