sensu-plugins-process-checks 3.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -1
- data/README.md +4 -0
- data/bin/metrics-ipcs.rb +1 -0
- data/lib/sensu-plugins-process-checks/version.rb +2 -2
- metadata +18 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff1ced08b94a793015890de477eecd6e4ec3892c525d6252abc159295254086b
|
4
|
+
data.tar.gz: 9c44a4b95296eccffbd414cb29585f204c7a298390f3a0de972f9267f2a43bd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41117948dfaf5dfd210277fc4ac635da1e4e36697190504c6ad20144362b6de2a877ef35e645e4f4780a611be0598b791f7cb0bc461ac0668c4623b1ae8ba033
|
7
|
+
data.tar.gz: c62b42f3c37ffdffc7018b9ff722c58ee814deda28d27c1fb1e4df55d7e3e1249553e320e46a77f01e369bb80a2b24b3dbf290fa1266072f98890b8dab7da6bf
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,33 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [4.2.1] - 2020-09-26
|
10
|
+
### Fixed
|
11
|
+
- .bonsai.yml: fixed wrong(not matching) entity.system.platform filter. (@itachi17)
|
12
|
+
|
13
|
+
## [4.2.0] - 2020-04-08
|
14
|
+
### Changed
|
15
|
+
- Updated english gem runtime dependency from 0.6.3 to 0.7.0 (0.6.3 was yanked).
|
16
|
+
|
17
|
+
## [4.1.0] - 2019-12-12
|
18
|
+
### Added
|
19
|
+
- Updated asset build targets to support centos6
|
20
|
+
|
21
|
+
|
22
|
+
## [4.0.1] - 2019-05-06
|
23
|
+
### Fixed
|
24
|
+
- metrics-ipcs.rb: fixed metric script by setting `found = true` when its found (@eberkut)
|
25
|
+
|
26
|
+
## [4.0.0] - 2019-04-18
|
27
|
+
### Breaking Changes
|
28
|
+
- Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
|
29
|
+
- 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)
|
30
|
+
|
31
|
+
### Added
|
32
|
+
- 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
|
33
|
+
- Require latest sensu-plugin for [Sensu Go support](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement)
|
34
|
+
|
35
|
+
|
9
36
|
## [3.2.0] - 2018-05-02
|
10
37
|
### Fixed
|
11
38
|
- metrics-processes-threads-count.rb: Backward compatible support for TASK_IDLE process state in Linux 4.14+ (@awangptc)
|
@@ -190,7 +217,12 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
190
217
|
- built against 1.9.3, 2.0, 2.1
|
191
218
|
- cryptographically signed
|
192
219
|
|
193
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/
|
220
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/4.2.1...HEAD
|
221
|
+
[4.2.1]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/4.2.0...4.2.1
|
222
|
+
[4.2.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/4.1.0...4.2.0
|
223
|
+
[4.1.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/4.0.1...4.1.0
|
224
|
+
[4.0.1]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/4.0.0...4.0.1
|
225
|
+
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.2.0...4.0.0
|
194
226
|
[3.2.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.1.0...3.2.0
|
195
227
|
[3.1.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.2...3.1.0
|
196
228
|
[3.0.2]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.1...3.0.2
|
data/README.md
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-process-checks/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-process-checks)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-process-checks/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-process-checks)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-process-checks.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-process-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-process-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
|
|
data/bin/metrics-ipcs.rb
CHANGED
@@ -60,6 +60,7 @@ class MetricsIPCS < Sensu::Plugin::Metric::CLI::Graphite
|
|
60
60
|
result = line.match(/[[:space:]]*(?<name>[a-zA-Z ]*).*(?<value>\d+)/)
|
61
61
|
output "#{config[:scheme]}.#{key}.#{result[:name].strip.tr(' ', '-')}", result[:value].strip
|
62
62
|
end
|
63
|
+
found = true
|
63
64
|
end
|
64
65
|
if found
|
65
66
|
ok
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-process-checks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.2.1
|
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: 2020-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: english
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.7.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: 0.
|
26
|
+
version: 0.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sensu-plugin
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '4.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sys-proctable
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1
|
61
|
+
version: '2.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: codeclimate-test-reporter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '3.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '3.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '13.0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '13.0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: redcarpet
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,14 +199,14 @@ description: |-
|
|
199
199
|
email: "<sensu-users@googlegroups.com>"
|
200
200
|
executables:
|
201
201
|
- check-cmd.rb
|
202
|
-
-
|
203
|
-
- check-process.rb
|
202
|
+
- metrics-per-process.rb
|
204
203
|
- check-threads-count.rb
|
204
|
+
- metrics-processes-threads-count.rb
|
205
|
+
- check-process-restart.rb
|
205
206
|
- metrics-ipcs.rb
|
206
|
-
- metrics-per-process.rb
|
207
207
|
- metrics-process-status.rb
|
208
208
|
- metrics-process-uptime.rb
|
209
|
-
-
|
209
|
+
- check-process.rb
|
210
210
|
extensions: []
|
211
211
|
extra_rdoc_files: []
|
212
212
|
files:
|
@@ -244,15 +244,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
244
|
requirements:
|
245
245
|
- - ">="
|
246
246
|
- !ruby/object:Gem::Version
|
247
|
-
version: 2.
|
247
|
+
version: 2.3.0
|
248
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
250
|
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0'
|
253
253
|
requirements: []
|
254
|
-
|
255
|
-
rubygems_version: 2.7.6
|
254
|
+
rubygems_version: 3.0.8
|
256
255
|
signing_key:
|
257
256
|
specification_version: 4
|
258
257
|
summary: Sensu plugins for checking running processes
|