sensu-plugins-http 2.8.2 → 2.8.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/metrics-curl.rb +2 -2
- data/lib/sensu-plugins-http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d4b05d835f38905ae48705e33f61119ea2ae24f9b3d530570713a648427c2a4
|
4
|
+
data.tar.gz: f108572cfcce11191b29b43a705480175ceee7cd3a215a70d44ee94ae5a7a594
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5304a47a130bd885cc27b87be59aaae0cd194ae37ed3319b75606b5f23afe4751611cde89a8befa5b26883cd988418419acc18cdf8fea662412db1bc6822faff
|
7
|
+
data.tar.gz: 89e3a57bfa330abbc3305a760a283e7db2e9fcfc0ec5942c412d98a9a5ebec44f115f25e62f185f3a13f47d43a0762f8c49d88bb0fca042c11710e6f71a75af0
|
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.8.3] - 2018-03-14
|
9
|
+
### Fixed
|
10
|
+
- `metrics-curl.rb`: fix shell quoting problem at execution and parse correctly curl metrics on non-C locale. (@multani)
|
11
|
+
|
8
12
|
## [2.8.2] - 2018-03-13
|
9
13
|
### Fixed
|
10
14
|
- most of the scripts failed when `# frozen_string_literal: true` was set because `mixlib-cli` does not support this. This reverts the old behavior in the checks but leaves libs which were unaffected alone (@majormoses)
|
@@ -177,7 +181,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
177
181
|
### Added
|
178
182
|
- Initial release
|
179
183
|
|
180
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.
|
184
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.3...HEAD
|
185
|
+
[2.8.3]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.2...2.8.3
|
181
186
|
[2.8.2]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.1...2.8.2
|
182
187
|
[2.8.1]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.0...2.8.1
|
183
188
|
[2.8.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.7.0...2.8.0
|
data/bin/metrics-curl.rb
CHANGED
@@ -58,8 +58,8 @@ class CurlMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
58
58
|
default: "#{Socket.gethostname}.curl_timings"
|
59
59
|
|
60
60
|
def run
|
61
|
-
cmd = "curl --silent --output /dev/null #{config[:curl_args]} "
|
62
|
-
cmd += '-w %{time_total},%{time_namelookup},%{time_connect},%{time_pretransfer},%{time_redirect},%{time_starttransfer},%{http_code}" '
|
61
|
+
cmd = "LC_NUMERIC=C curl --silent --output /dev/null #{config[:curl_args]} "
|
62
|
+
cmd += '-w "%{time_total},%{time_namelookup},%{time_connect},%{time_pretransfer},%{time_redirect},%{time_starttransfer},%{http_code}" '
|
63
63
|
cmd += config[:url]
|
64
64
|
|
65
65
|
output = `#{cmd}`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.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-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|