sensu-plugins-http 6.0.0 → 6.0.1

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: d193fb1024e7a3e545f9cf4cc88ebece09511d688a85dc78cee839936c998349
4
- data.tar.gz: de667092233f6676751c01610c8fb154a8321f8500e02acfce114432576ba056
3
+ metadata.gz: bc7a6c134a3d32059ef58510324d24382350c0235627202bd9550f5fd3a151d5
4
+ data.tar.gz: 3c0e0cba4dca57b61d5f327f57170367fb6d6d8462e41dfd53931475849c3229
5
5
  SHA512:
6
- metadata.gz: 89bbfd559da67522f7fbe49f92b6723323d136b5adaff9c376faa75a1ec94188740307f09f535c53acf18a7e97ecb0690206573d8b33138d15f2467c9c53b50f
7
- data.tar.gz: 21c7cee2151d64d4339748adfbf4019d2c325a0481d69d2c49b079ade88bd0f26d57e30d4a0c45e932d7f17f2725f34715db144dc84a4e7fb5f0f9b47bc6eac0
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.0...HEAD
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
- `type -t "curl" > /dev/null 2>&1`
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.'
@@ -4,7 +4,7 @@ module SensuPluginsHttp
4
4
  module Version
5
5
  MAJOR = 6
6
6
  MINOR = 0
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
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.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-22 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk