sensu-plugins-cpu-checks 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c35d99b197f2c02882d0ed2f782386437368deea7bce60099a52efb41648e7c
4
- data.tar.gz: d96d35dfff48d9cf6606c4b060176bbcd91f271c52b216255c3b181704766028
3
+ metadata.gz: 61e802158f56171080e0db1739c526fdb5e19bb98d095dfe7a14af0534e6bc7a
4
+ data.tar.gz: dba7ec8bd28325952831d38125ad7d24151d6b1de92d3dd33c7ee29dbfc8da64
5
5
  SHA512:
6
- metadata.gz: 364bc2203e9f747e33c34621bec7a2e1b6d61535fd7730b9933e3f119130d1fc5abeb0f859358c32250d0794b0f537729c7f070503104dce6d45841af1f3dd7d
7
- data.tar.gz: 32b8cd8665438156b8d06ae7f34f7e521fca4a83b9a0e65012bd76865835242c027bc78068ceaa0076034119895c0d4d0886b0ede3462db9b656caa827c185d1
6
+ metadata.gz: 31779ad1f881cfd8be37340937829bb1487f06fbcd9847a3650327a6ddfd87c11ef26a4db4c1f4bb27a8b3f75815ab60e0662988fca607ed17d3a248d7434bcf
7
+ data.tar.gz: e60589766f7a329f528d6cdb7b2099008d2e84182a6f88366b6a9d2a0ec5734dda3d8f95cce95f8d117887528a00844aac4730f23b0fc4c4b3c6ad2a7ce3f309
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.0.0] - 2018-07-24
9
+ ### Breaking Changes
10
+ - changing the default of `--sleep` from `1` to `5` this argument controls the time between initial poll and the followup poll which will get more overall accurate measurement of cpu utilization especially on systems that have less resources available (@majormoses)
11
+
8
12
  ## [2.1.0] - 2018-04-2018
9
13
  ### Added
10
14
  - Added metrics-cpu-interrupts.rb (@yuri-zubov sponsored by Actility, https://www.actility.com)
@@ -89,7 +93,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
89
93
  - initial release
90
94
 
91
95
 
92
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.1.0...HEAD
96
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/3.0.0...HEAD
97
+ [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.1.0...3.0.0
93
98
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.0.1...2.1.0
94
99
  [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.0.0...2.0.1
95
100
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.3...2.0.0
@@ -53,8 +53,9 @@ class CheckCPU < Sensu::Plugin::Check::CLI
53
53
 
54
54
  option :sleep,
55
55
  long: '--sleep SLEEP',
56
+ description: 'This sleep controls the interval between the initial poll for cpu utilization and the next data point, the longer the interval is the more accurate your data will be', # rubocop:disable Metrics/LineLength
56
57
  proc: proc(&:to_f),
57
- default: 1
58
+ default: 5
58
59
 
59
60
  option :cache_file,
60
61
  long: '--cache-file CACHEFILE',
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsCpuChecks
2
2
  module Version
3
- MAJOR = 2
4
- MINOR = 1
3
+ MAJOR = 3
4
+ MINOR = 0
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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: 2.1.0
4
+ version: 3.0.0
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-04-19 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
- rubygems_version: 2.7.6
227
+ rubygems_version: 2.7.7
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: Sensu plugins for cpu checks and metrics