sensu-plugins-http 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/bin/metrics-curl.rb +1 -1
- 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: bc7a6c134a3d32059ef58510324d24382350c0235627202bd9550f5fd3a151d5
|
4
|
+
data.tar.gz: 3c0e0cba4dca57b61d5f327f57170367fb6d6d8462e41dfd53931475849c3229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd7bb8de088e0a990f1be6d4d3d5572e14a73e9930178e7b3dc1eac50c98cd702cf7c098c2e3c691a1f1595cae7fb205cb2744c134956e812f78eece7b6088f3
|
7
|
+
data.tar.gz: 9469fa0400ac11deb1eb0eb77aa3e1c28990f3347e1c2f9f113d6c4a19e3013059a1ab7eaa2767c1d620b68b1f2bc8a204fae0d1d12bb8a4ec84b583defe5a1a
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
|
9
|
+
## [6.0.1] - 2020-01-30
|
10
|
+
### Fixed
|
11
|
+
- `metrics-curl.rb`: improved platform support for detecting `curl` using `which` due to inconsistent options across non bash shells, tested on `bash` and `dash` shells (@elfranne)
|
12
|
+
|
8
13
|
## [6.0.0] - 2020-01-17
|
9
14
|
### Added
|
10
15
|
- New metrics-libcurl.rb metrics check that works directly with libcurl and does not need curl executable on system. Very useful as an asset in containerized Sensu Agent installs.
|
@@ -269,7 +274,8 @@ metrics-http-json.rb: Added debug option to see the processing of json data
|
|
269
274
|
### Added
|
270
275
|
- Initial release
|
271
276
|
|
272
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/6.0.
|
277
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/6.0.1...HEAD
|
278
|
+
[6.0.1]: https://github.com/sensu-plugins/sensu-plugins-http/compare/6.0.0...6.0.1
|
273
279
|
[6.0.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/5.1.1...6.0.0
|
274
280
|
[5.1.1]: https://github.com/sensu-plugins/sensu-plugins-http/compare/5.1.0...5.1.1
|
275
281
|
[5.1.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/5.0.0...5.1.0
|
data/bin/metrics-curl.rb
CHANGED
@@ -57,7 +57,7 @@ class CurlMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
57
57
|
default: "#{Socket.gethostname}.curl_timings"
|
58
58
|
|
59
59
|
def run
|
60
|
-
`
|
60
|
+
`which curl > /dev/null 2>&1`
|
61
61
|
unless $CHILD_STATUS == 0
|
62
62
|
critical 'CRITICAL: curl executable not found in PATH on this system.'\
|
63
63
|
' If curl cannot be installed, consider using metrics_libcurl.rb instead.'
|
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: 6.0.
|
4
|
+
version: 6.0.1
|
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: 2020-01-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|