sensu-plugins-cpu-checks 2.1.0 → 3.0.0
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/check-cpu.rb +2 -1
- data/lib/sensu-plugins-cpu-checks/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61e802158f56171080e0db1739c526fdb5e19bb98d095dfe7a14af0534e6bc7a
|
|
4
|
+
data.tar.gz: dba7ec8bd28325952831d38125ad7d24151d6b1de92d3dd33c7ee29dbfc8da64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31779ad1f881cfd8be37340937829bb1487f06fbcd9847a3650327a6ddfd87c11ef26a4db4c1f4bb27a8b3f75815ab60e0662988fca607ed17d3a248d7434bcf
|
|
7
|
+
data.tar.gz: e60589766f7a329f528d6cdb7b2099008d2e84182a6f88366b6a9d2a0ec5734dda3d8f95cce95f8d117887528a00844aac4730f23b0fc4c4b3c6ad2a7ce3f309
|
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
|
+
## [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/
|
|
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
|
data/bin/check-cpu.rb
CHANGED
|
@@ -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:
|
|
58
|
+
default: 5
|
|
58
59
|
|
|
59
60
|
option :cache_file,
|
|
60
61
|
long: '--cache-file CACHEFILE',
|
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:
|
|
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-
|
|
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.
|
|
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
|