sensu-plugins-cpu-checks 3.0.0 → 4.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 +11 -1
- data/README.md +5 -0
- data/lib/sensu-plugins-cpu-checks/version.rb +1 -1
- metadata +13 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b381042c967489dd4b43d79d2dbc6c4f614947155ba22a1820c603d5c06ab7f0
|
|
4
|
+
data.tar.gz: 90f7237b3e60a6824922d6a03a41678fcc2cd7a256589d9af972612817e77369
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/
|
|
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
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cpu-checks)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-cpu-checks)
|
|
8
|
+
[](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.
|
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: 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:
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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-
|
|
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.
|
|
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
|
-
|
|
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
|