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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-nginx-status.rb +1 -0
- data/lib/sensu-plugins-nginx/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3ff636aa00b9386fd664bd26e69db63df17f98ae13669155a7ad5dd1da0fe9c
|
|
4
|
+
data.tar.gz: e99f8005aa39837afbc4c9323645f4d46ada521ce37a5b975751e0e797864b54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fc94213bf4497c117610c6c3a927d67331ca8ad1f88f3295a98be1ac384382f3a94a555577ae36d3ab7f931201cefe577c2b535c5b78bf3f18a26cd89a83258
|
|
7
|
+
data.tar.gz: b6fe030ae1ac8d503a16eec3d8501cd7240566633a797442529d9dae51e52fa1de3744585ee0fac32e0158960a843aef1182471056f53c2cf70fcf598f72ff6e
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
data/bin/check-nginx-status.rb
CHANGED
|
@@ -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
|
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.
|
|
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-
|
|
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.
|
|
196
|
+
rubygems_version: 2.7.7
|
|
197
197
|
signing_key:
|
|
198
198
|
specification_version: 4
|
|
199
199
|
summary: Sensu plugins for the NGINX server
|