sensu-plugins-cpu-checks 1.1.1 → 1.1.2

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
  SHA1:
3
- metadata.gz: 4a6b98e98d618673b465206bfeb594ed0e24fb5b
4
- data.tar.gz: f6eb4d2c4e4b11dcd38736b52d5b764ee0da133e
3
+ metadata.gz: 54a19326e5cbe3b2fb220b9751cb5b44fff34217
4
+ data.tar.gz: 36487dc8f256262e36770d447459ec0caa1dda21
5
5
  SHA512:
6
- metadata.gz: a88af95700227ee0ed627a1d472ea357a408139a4e51e854649a200f6bae397524ecf4cc7ce2b7b5d8ccfb4d5316a884695afb02cbf07f7279a3994798dac6c4
7
- data.tar.gz: 19baa85d8e554a4b36ea5b335d2c9dd185ad6c897935d0ba1c3cd9159f6c00a54b8de06ee2aa39392710f6efc62439da009347141459716ad9b4e32026e30a2e
6
+ metadata.gz: bd8eb1cb5a75ac91183ba080d86b3aae34e8e96f89ba3558fec95cb7f08845d5f144adb4deb2a4c0370612d84fb49dddb32bedc3a72f0142fb46ce0e62b34894
7
+ data.tar.gz: e698c12657b5c6607534aca4465c1beb24b16b5c8aaf908a2ff3ce2c8431560aac1c10c6780c51c7f47cd43f46f3ad0097196a76b7912d16fc16d103a944e307
data/CHANGELOG.md CHANGED
@@ -1,10 +1,15 @@
1
- #Change Log
1
+ # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
- ## [1.1.0] - 2017-05-02
7
+
8
+ ## [1.1.2] - 2017-06-20
9
+ ### Fixed
10
+ - `metrics-cpu.rb`/`metrics-cpu-pcnt-usage.rb`: Set the correct type for --proc-path (@bimlendu)
11
+
12
+ ## [1.1.1] - 2017-05-02
8
13
  ### Changed
9
14
  - no real change just bumping due to deployment issue.
10
15
 
@@ -52,8 +57,9 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
52
57
  - initial release
53
58
 
54
59
 
55
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.1...HEAD
56
- [1.1.1]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.0...1.1.0
60
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.2...HEAD
61
+ [1.1.2]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.1...1.1.2
62
+ [1.1.1]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.0...1.1.1
57
63
  [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.0.0...1.1.0
58
64
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/0.0.4...1.0.0
59
65
  [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/0.0.3...0.0.4
@@ -38,7 +38,7 @@ class CpuGraphite < Sensu::Plugin::Metric::CLI::Graphite
38
38
 
39
39
  option :proc_path,
40
40
  long: '--proc-path /proc',
41
- proc: proc(&:to_f),
41
+ proc: proc(&:to_s),
42
42
  default: '/proc'
43
43
 
44
44
  def acquire_proc_stats
data/bin/metrics-cpu.rb CHANGED
@@ -38,7 +38,7 @@ class CpuGraphite < Sensu::Plugin::Metric::CLI::Graphite
38
38
 
39
39
  option :proc_path,
40
40
  long: '--proc-path /proc',
41
- proc: proc(&:to_f),
41
+ proc: proc(&:to_s),
42
42
  default: '/proc'
43
43
 
44
44
  def run
@@ -2,7 +2,7 @@ module SensuPluginsCpuChecks
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- PATCH = 1
5
+ PATCH = 2
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-cpu-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
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: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin