sensu-plugins-nginx 2.2.2 → 2.2.3

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
  SHA256:
3
- metadata.gz: 5276c5250e3e6dd5f99ac9fd5a27353a9d6718247b02e1df984c796d0390b686
4
- data.tar.gz: 4aa4b2842c72be1d0795dcd8c491d69d914491c3c2c83927e3c5911b6eefa025
3
+ metadata.gz: f3ff636aa00b9386fd664bd26e69db63df17f98ae13669155a7ad5dd1da0fe9c
4
+ data.tar.gz: e99f8005aa39837afbc4c9323645f4d46ada521ce37a5b975751e0e797864b54
5
5
  SHA512:
6
- metadata.gz: 0413073eeffc51f84c8b5bfe77778d3a992099e4a24ac99d174d8c9703107f43082dd27d69bafe34b47018035a800d81172805745b5de7901ffdc3610b9fcb83
7
- data.tar.gz: 53a84d983f335edec10a3fb6e60b9a75844b25d8c527d79735c952152c828ecb29254adb60636346f02d5685f3c71abf53eae201ef2460aac31ce9f17f4402e4
6
+ metadata.gz: 2fc94213bf4497c117610c6c3a927d67331ca8ad1f88f3295a98be1ac384382f3a94a555577ae36d3ab7f931201cefe577c2b535c5b78bf3f18a26cd89a83258
7
+ data.tar.gz: b6fe030ae1ac8d503a16eec3d8501cd7240566633a797442529d9dae51e52fa1de3744585ee0fac32e0158960a843aef1182471056f53c2cf70fcf598f72ff6e
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.2.3] - 2018-10-01
9
+ ### Fixed
10
+ - `check-nginx-status.rb`: Fixed usage of hostheader without setting url
11
+
8
12
  ## [2.2.2] - 2018-03-28
9
13
  ### Security
10
14
  - updated yard dependency to `~> 0.9.11` per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
@@ -81,7 +85,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
81
85
  ## 0.0.1 - 2015-02-11 **YANKED**
82
86
  - initial stable release
83
87
 
84
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.2.2...HEAD
88
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.2.3...HEAD
89
+ [2.2.3]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.2.2...2.2.3
85
90
  [2.2.2]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.2.1...2.2.2
86
91
  [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.2.0...2.2.1
87
92
  [2.2.0]: https://github.com/sensu-plugins/sensu-plugins-nginx/compare/2.1.0...2.2.0
@@ -103,6 +103,7 @@ class CheckNginxStatus < Sensu::Plugin::Check::CLI
103
103
  else
104
104
  response = Net::HTTP.start(config[:hostname], config[:port]) do |connection|
105
105
  request = Net::HTTP::Get.new("/#{config[:path]}")
106
+ request['Host'] = config[:hostheader] if config[:hostheader]
106
107
  connection.request(request)
107
108
  end
108
109
  end
@@ -2,7 +2,7 @@ module SensuPluginsNginx
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 2
5
- PATCH = 2
5
+ PATCH = 3
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-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
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: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.7.6
196
+ rubygems_version: 2.7.7
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Sensu plugins for the NGINX server