sensu-plugins-cpu-checks 1.1.2 → 1.1.3
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 +5 -5
- data/CHANGELOG.md +15 -2
- data/bin/metrics-cpu.rb +1 -1
- data/lib/sensu-plugins-cpu-checks/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 91c34e6034d6578c6000cf4862fc5eb8f937d925b30486719cc3625d6046f674
|
|
4
|
+
data.tar.gz: 2730c51bffb3ce8ab6ef22b6acd2a560b4cbd4672834ce3d0c706fedbb4a5748
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4c95b2e1ae1b647197968f2f2de37951b5353006eb9403fcf60261a745881efe328592ffb00687733b7187bb07b9a93930f93e0ce51d9f86df8f9f1bf569233
|
|
7
|
+
data.tar.gz: 7ae71a5b09f18275982f4ea91fef22af317d958a032b441f5cfbc6cf0943017422b1a985a01ae650c89224672345f4a7b54a2c72292a055ede6a595e1817809e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
|
-
This CHANGELOG follows the format listed
|
|
4
|
+
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.1.3] - 2018-01-25
|
|
9
|
+
### Added
|
|
10
|
+
- ruby 2.4 testing (@majormoses)
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- PR template spell "Compatibility" correctly (@majormoses)
|
|
14
|
+
- made bin executable (@majormoses)
|
|
15
|
+
- metrics-cpu.rb: fixed interrupt counters by taking the first column which is an aggregate of all interrupt stats (@yuri-zubov)
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- updated Changelog guidelines location (@majormoses)
|
|
19
|
+
|
|
8
20
|
## [1.1.2] - 2017-06-20
|
|
9
21
|
### Fixed
|
|
10
22
|
- `metrics-cpu.rb`/`metrics-cpu-pcnt-usage.rb`: Set the correct type for --proc-path (@bimlendu)
|
|
@@ -57,7 +69,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
57
69
|
- initial release
|
|
58
70
|
|
|
59
71
|
|
|
60
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.
|
|
72
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.3...HEAD
|
|
73
|
+
[1.1.3]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.2...1.1.3
|
|
61
74
|
[1.1.2]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.1...1.1.2
|
|
62
75
|
[1.1.1]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.1.0...1.1.1
|
|
63
76
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-cpu-checks/compare/1.0.0...1.1.0
|
data/bin/metrics-cpu.rb
CHANGED
|
@@ -58,7 +58,7 @@ class CpuGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
58
58
|
info.size.times { |i| output "#{config[:scheme]}.#{name}.#{cpu_metrics[i]}", info[i] }
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
output "#{config[:scheme]}.#{name}", info.
|
|
61
|
+
output "#{config[:scheme]}.#{name}", info.first if other_metrics.include? name
|
|
62
62
|
end
|
|
63
63
|
if cpu_count > 0
|
|
64
64
|
# writes the number of cpus, the minus 1 is because /proc/stat/
|
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.
|
|
4
|
+
version: 1.1.3
|
|
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: 2018-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
219
|
rubyforge_project:
|
|
220
|
-
rubygems_version: 2.4
|
|
220
|
+
rubygems_version: 2.7.4
|
|
221
221
|
signing_key:
|
|
222
222
|
specification_version: 4
|
|
223
223
|
summary: Sensu plugins for cpu checks and metrics
|