sensu-plugins-cpu-checks 3.0.0 → 4.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: 61e802158f56171080e0db1739c526fdb5e19bb98d095dfe7a14af0534e6bc7a
4
- data.tar.gz: dba7ec8bd28325952831d38125ad7d24151d6b1de92d3dd33c7ee29dbfc8da64
3
+ metadata.gz: b381042c967489dd4b43d79d2dbc6c4f614947155ba22a1820c603d5c06ab7f0
4
+ data.tar.gz: 90f7237b3e60a6824922d6a03a41678fcc2cd7a256589d9af972612817e77369
5
5
  SHA512:
6
- metadata.gz: 31779ad1f881cfd8be37340937829bb1487f06fbcd9847a3650327a6ddfd87c11ef26a4db4c1f4bb27a8b3f75815ab60e0662988fca607ed17d3a248d7434bcf
7
- data.tar.gz: e60589766f7a329f528d6cdb7b2099008d2e84182a6f88366b6a9d2a0ec5734dda3d8f95cce95f8d117887528a00844aac4730f23b0fc4c4b3c6ad2a7ce3f309
6
+ metadata.gz: 9dae1ff773dde5c2044fafac28dfe7fc01453e45774207e45c112f7becf2151a74c89c0732445200e0d73d22195a43c90752da5af34f2e79213f987336e1a03b
7
+ data.tar.gz: 5a7e810f83e5696a89439c2bf80abd96450e7db09d5a5d192981a14f52f433fb0655c02644da4ad250281a34f7cb592fbdafb583b1dd66bde40b999bd22d0800
data/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.0.0] - 2019-04-18
9
+ ### Breaking Changes
10
+ - Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
11
+ - Bump `sensu-plugin` dependency from `~> 1.2` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
12
+
13
+ ### Added
14
+ - Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
15
+ - Require latest sensu-plugin for [Sensu Go support](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement)
16
+
8
17
  ## [3.0.0] - 2018-07-24
9
18
  ### Breaking Changes
10
19
  - 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)
@@ -93,7 +102,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
93
102
  - initial release
94
103
 
95
104
 
96
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/3.0.0...HEAD
105
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/4.0.0...HEAD
106
+ [4.0.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/3.0.0...4.0.0
97
107
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.1.0...3.0.0
98
108
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.0.1...2.1.0
99
109
  [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/2.0.0...2.0.1
data/README.md CHANGED
@@ -5,6 +5,10 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-cpu-checks.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-cpu-checks)
8
+ [![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967&logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-cpu-checks)
9
+
10
+ ## Sensu Asset
11
+ The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found [here](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the [Bonsai Asset Index](bonsai.sensu.io).
8
12
 
9
13
  ## Functionality
10
14
 
@@ -23,3 +27,4 @@
23
27
  [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
24
28
 
25
29
  ## Notes
30
+ The `check-cpu.sh` shell script in this repository requires the `bc` utility to be installed and available in the executable path. This shell script is not installed when using the Ruby gem or Sensu asset derived from this repository.
@@ -1,6 +1,6 @@
1
1
  module SensuPluginsCpuChecks
2
2
  module Version
3
- MAJOR = 3
3
+ MAJOR = 4
4
4
  MINOR = 0
5
5
  PATCH = 0
6
6
 
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: 3.0.0
4
+ version: 4.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-07-25 00:00:00.000000000 Z
11
+ date: 2019-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: linux-kstat
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.3'
75
+ version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.3'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -170,15 +170,15 @@ description: |-
170
170
  CPU usage and metrics
171
171
  email: "<sensu-users@googlegroups.com>"
172
172
  executables:
173
- - check-cpu.rb
174
- - metrics-cpu-interrupts.rb
175
173
  - metrics-cpu-mpstat.rb
174
+ - metrics-cpu.rb
175
+ - metrics-user-pct-usage.rb
176
176
  - metrics-cpu-pcnt-usage.rb
177
177
  - metrics-cpu-softirqs.rb
178
- - metrics-cpu.rb
179
- - metrics-numastat.rb
180
178
  - metrics-softnet-stat.rb
181
- - metrics-user-pct-usage.rb
179
+ - metrics-cpu-interrupts.rb
180
+ - check-cpu.rb
181
+ - metrics-numastat.rb
182
182
  extensions: []
183
183
  extra_rdoc_files: []
184
184
  files:
@@ -216,15 +216,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
216
216
  requirements:
217
217
  - - ">="
218
218
  - !ruby/object:Gem::Version
219
- version: '2.1'
219
+ version: '2.3'
220
220
  required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubyforge_project:
227
- rubygems_version: 2.7.7
226
+ rubygems_version: 3.0.3
228
227
  signing_key:
229
228
  specification_version: 4
230
229
  summary: Sensu plugins for cpu checks and metrics