sensu-plugins-memory-checks 0.0.8 → 0.0.9
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 +13 -5
- checksums.yaml.gz.sig +3 -1
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +12 -5
- data/README.md +7 -8
- data/bin/check-memory-percent.rb +1 -1
- data/bin/check-memory.rb +1 -1
- data/bin/check-memory.sh +3 -3
- data/bin/check-swap-percent.rb +1 -1
- data/bin/check-swap.rb +1 -1
- data/bin/metrics-memory-percent.rb +12 -12
- data/bin/metrics-memory.rb +7 -7
- data/lib/sensu-plugins-memory-checks/version.rb +1 -1
- metadata +78 -70
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
N2QxZGQ2Yjc5NjRhMTg5YjAyOTMyMjUxZTdhMTAwMzJjYTk0Yzg4NA==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZmQ2M2IzMzQ0MWUzMzJlOWJhMDYxNjhjODdjODdlYjYxMjVjMTYxMg==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
ODljMjc0MGI0MTA4Y2IyNGZkNDZmMjE4Zjk0Y2EyODczMTEyODI3YzlkYWI2
|
|
10
|
+
NmNlN2E4ZWQwZDRkNjI0NGQ5NGM3MWUyM2Y4ZTA3YzYyYmNkODZjMzQ4ZjRi
|
|
11
|
+
MGMxMTI3ODQxNTgyNjdjNjAwYjcwZmE2OTY1OGE1ZWYxYjUyMzc=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
YTE4YmMwYzY0MzExZDg2NDJmOWYwNzUzMGE1MTliYjAxNTkwZjk0YTRkODQ4
|
|
14
|
+
NzAxMmQ2YTA5YzQ5OGMzMjc3ODZkZGIzNzg2ZTVlOTI1OTMwNjUzODU2YTcx
|
|
15
|
+
ZWZlZWMyODliMjc0ZGQ4MTI4ZTUxZjI0YTRkNjgwMjBkYWU1MTk=
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
'���,�ǡ_���ٗ�8���>0�6���x��!��{/���?o_����*3��Ʃ��O$�hv*�od^`��
|
|
2
|
+
/��X;�R�2�Y�E"���<g~��~?-Żb>TC��s�,C�/�Ѐ��/���P���/[�zx^�#4���X�J�bg|�i��E
|
|
3
|
+
n�@�-��xl�;�xP{rZ��h$��b�ih3�l���\�M�]2�6�p��]�O dȿx���ÖR�]WZ�
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,14 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased][unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.0.9] - 2016-02-05
|
|
9
|
+
### Added
|
|
10
|
+
- new certs
|
|
11
|
+
|
|
8
12
|
## [0.0.8] - 2015-09-29
|
|
9
13
|
### Fixed
|
|
10
14
|
- check-ram.rb incorrectly calculated ram
|
|
15
|
+
- check-memory.sh, support for RHEL 7.
|
|
11
16
|
|
|
12
17
|
## [0.0.7] - 2015-08-11
|
|
13
18
|
### Fixed
|
|
@@ -34,24 +39,26 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
34
39
|
- set all deps to alpha order in Gemspec
|
|
35
40
|
- removed unused tasks in Rakefile
|
|
36
41
|
|
|
37
|
-
## [0.0.3] -
|
|
42
|
+
## [0.0.3] - 2015-06-29
|
|
38
43
|
### Added
|
|
39
44
|
- Support for Fedora22 and Cent7 to `check-memory-pcnt.sh`
|
|
40
45
|
- Add wrapper for all shell scripts
|
|
41
46
|
|
|
42
|
-
## [0.0.2] -
|
|
47
|
+
## [0.0.2] - 2015-06-03
|
|
43
48
|
### Fixed
|
|
44
49
|
- added binstubs
|
|
45
50
|
### Changed
|
|
46
51
|
- removed cruft from /lib
|
|
47
52
|
|
|
48
|
-
## 0.0.1 -
|
|
53
|
+
## 0.0.1 - 2015-05-21
|
|
49
54
|
### Added
|
|
50
55
|
- initial release
|
|
51
56
|
|
|
52
|
-
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.
|
|
57
|
+
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.9...HEAD
|
|
58
|
+
[0.0.9]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.8...0.0.9
|
|
59
|
+
[0.0.8]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.7...0.0.8
|
|
53
60
|
[0.0.7]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.6...0.0.7
|
|
54
|
-
[0.0.
|
|
61
|
+
[0.0.6]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.5...0.0.6
|
|
55
62
|
[0.0.5]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.4...0.0.5
|
|
56
63
|
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.3...0.0.4
|
|
57
64
|
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.2...0.0.3
|
data/README.md
CHANGED
|
@@ -5,21 +5,20 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-memory-checks)
|
|
8
|
-
[ ](https://codeship.com/projects/79854)
|
|
9
8
|
|
|
10
9
|
## Functionality
|
|
11
10
|
|
|
12
11
|
## Files
|
|
13
|
-
* bin/check-
|
|
14
|
-
* bin/check-
|
|
15
|
-
* bin/check-memory-
|
|
16
|
-
* bin/check-memory-
|
|
12
|
+
* bin/check-memory.rb
|
|
13
|
+
* bin/check-memory.sh
|
|
14
|
+
* bin/check-memory-percent.rb
|
|
15
|
+
* bin/check-memory-percent.sh
|
|
17
16
|
* bin/check-ram.rb
|
|
18
|
-
* bin/check-swap-
|
|
19
|
-
* bin/check-swap-
|
|
17
|
+
* bin/check-swap-percent.rb
|
|
18
|
+
* bin/check-swap-percent.sh
|
|
20
19
|
* bin/check-swap.sh
|
|
21
20
|
* bin/check-swap.rb
|
|
22
|
-
* bin/metrics-memory-percent
|
|
21
|
+
* bin/metrics-memory-percent.rb
|
|
23
22
|
* bin/metrics-memory.rb
|
|
24
23
|
|
|
25
24
|
## Usage
|
data/bin/check-memory-percent.rb
CHANGED
data/bin/check-memory.rb
CHANGED
data/bin/check-memory.sh
CHANGED
|
@@ -42,11 +42,11 @@ WARN=${WARN:=0}
|
|
|
42
42
|
CRIT=${CRIT:=0}
|
|
43
43
|
|
|
44
44
|
# validate fedora > 20 and rhel > 7.0 and centos > 7.0
|
|
45
|
-
if [[ -f /etc/redhat-version && `
|
|
45
|
+
if [[ -f /etc/redhat-version && `egrep "2[0-9]{1}" /etc/redhat-release` ]]; then
|
|
46
46
|
redhat_version=1
|
|
47
|
-
elif [[ -f /etc/redhat-version && `
|
|
47
|
+
elif [[ -f /etc/redhat-version && `egrep "7\.[0-9]{1}" /etc/redhat-version` ]]; then
|
|
48
48
|
redhat_version=1
|
|
49
|
-
elif [[ -f /etc/redhat-release && `
|
|
49
|
+
elif [[ -f /etc/redhat-release && `egrep "7\.[0-9]{1}" /etc/redhat-release` ]]; then
|
|
50
50
|
redhat_version=1
|
|
51
51
|
else
|
|
52
52
|
redhat_version=0
|
data/bin/check-swap-percent.rb
CHANGED
data/bin/check-swap.rb
CHANGED
|
@@ -52,13 +52,13 @@ class MemoryGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
52
52
|
memp = {}
|
|
53
53
|
|
|
54
54
|
meminfo_output.each_line do |line|
|
|
55
|
-
mem['total'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
56
|
-
mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
57
|
-
mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
58
|
-
mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
59
|
-
mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
60
|
-
mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
61
|
-
mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
55
|
+
mem['total'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^MemTotal/
|
|
56
|
+
mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^MemFree/
|
|
57
|
+
mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Buffers/
|
|
58
|
+
mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Cached/
|
|
59
|
+
mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^SwapTotal/
|
|
60
|
+
mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^SwapFree/
|
|
61
|
+
mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Dirty/
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
mem['swapUsed'] = mem['swapTotal'] - mem['swapFree']
|
|
@@ -67,11 +67,11 @@ class MemoryGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
67
67
|
mem['freeWOBuffersCaches'] = mem['free'] + (mem['buffers'] + mem['cached'])
|
|
68
68
|
|
|
69
69
|
# to prevent division by zero
|
|
70
|
-
if mem['swapTotal'] == 0
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
swptot = if mem['swapTotal'] == 0
|
|
71
|
+
1
|
|
72
|
+
else
|
|
73
|
+
mem['swapTotal']
|
|
74
|
+
end
|
|
75
75
|
|
|
76
76
|
mem.each do |k, _v|
|
|
77
77
|
# with percentages, used and free are exactly complementary
|
data/bin/metrics-memory.rb
CHANGED
|
@@ -48,13 +48,13 @@ class MemoryGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
48
48
|
def metrics_hash
|
|
49
49
|
mem = {}
|
|
50
50
|
meminfo_output.each_line do |line|
|
|
51
|
-
mem['total'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
52
|
-
mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
53
|
-
mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
54
|
-
mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
55
|
-
mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
56
|
-
mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
57
|
-
mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line
|
|
51
|
+
mem['total'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^MemTotal/
|
|
52
|
+
mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^MemFree/
|
|
53
|
+
mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Buffers/
|
|
54
|
+
mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Cached/
|
|
55
|
+
mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^SwapTotal/
|
|
56
|
+
mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^SwapFree/
|
|
57
|
+
mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line =~ /^Dirty/
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
mem['swapUsed'] = mem['swapTotal'] - mem['swapFree']
|
metadata
CHANGED
|
@@ -1,51 +1,60 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-memory-checks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
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
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
- !binary |-
|
|
12
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURuakNDQW9hZ0F3SUJB
|
|
13
|
+
Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJLTVJVd0V3WURWUVFEREF4elpX
|
|
14
|
+
NXoKZFMxd2JIVm5hVzR4SFRBYkJnb0praWFKay9Jc1pBRVpGZzF6Wlc1emRT
|
|
15
|
+
MXdiSFZuYVc1ek1SSXdFQVlLQ1pJbQppWlB5TEdRQkdSWUNhVzh3SGhjTk1U
|
|
16
|
+
WXdNakEwTWpNeU1qRTNXaGNOTVRjd01qQXpNak15TWpFM1dqQktNUlV3CkV3
|
|
17
|
+
WURWUVFEREF4elpXNXpkUzF3YkhWbmFXNHhIVEFiQmdvSmtpYUprL0lzWkFF
|
|
18
|
+
WkZnMXpaVzV6ZFMxd2JIVm4KYVc1ek1SSXdFQVlLQ1pJbWlaUHlMR1FCR1JZ
|
|
19
|
+
Q2FXOHdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBdwpnZ0VLQW9J
|
|
20
|
+
QkFRQy9VUzNmdEkyUmQrOWQzS3JIQUw0bERsOGxhN2s2ZHA3K1RPY210VHd3
|
|
21
|
+
YzRiMUwzV0NyeEFoClpDWms1Q3k2aUpvWUd4VHVoNittSDJZZ3ExbHZGRE4v
|
|
22
|
+
NTh5YVRHTVFINzNRYVJjZjVnak9IMkJSQTlkUWRzWUgKYTNZYnMrbGxwVlYv
|
|
23
|
+
ZC9kMklaYyt2RU9tc21rTFpVeEhzZFdQSTZsWTBuYXJwU2RxNHNML0lXWWZP
|
|
24
|
+
aW1ocFFTWgpTV0t5WHg5cjM4UFpZZ0Q3djIydjloNTZkcUpQZFFPY29OODhF
|
|
25
|
+
NkE4YTdQWTcvL1RweWdTREtuSldudkFwS1JxCjNCN0xMaFNkOTRQMHdRcGow
|
|
26
|
+
MS9sb05Nd0FCMytGQjRRQ0UrdG1QeFYxZ1Q2ZWE4VW1SNjQrcGZKTFN0NGl5
|
|
27
|
+
N0gKVGc5OTdCZFZqaURJdG5SYzhCSXNjVFl4S2JRai9wTEhBZ01CQUFHamdZ
|
|
28
|
+
NHdnWXN3Q1FZRFZSMFRCQUl3QURBTApCZ05WSFE4RUJBTUNCTEF3SFFZRFZS
|
|
29
|
+
ME9CQllFRk5McjBmZ1BmdnlWK0VneEVGRHhVcVFhU2xScE1DZ0dBMVVkCkVR
|
|
30
|
+
UWhNQitCSFhObGJuTjFMWEJzZFdkcGJrQnpaVzV6ZFMxd2JIVm5hVzV6TG1s
|
|
31
|
+
dk1DZ0dBMVVkRWdRaE1CK0IKSFhObGJuTjFMWEJzZFdkcGJrQnpaVzV6ZFMx
|
|
32
|
+
d2JIVm5hVzV6TG1sdk1BMEdDU3FHU0liM0RRRUJCUVVBQTRJQgpBUUNQZTZ0
|
|
33
|
+
RUJ0NS9uQzk1aFhvS2VLRmhrWVc5bTE2aU5YdWRKeEorZGRYcnpDc2tEMXk2
|
|
34
|
+
ajZjQXY0a1FlUDFmClBIbDE4aDVrOWtKeElQU1IrcUkrK2JJbDE3ZUVPU096
|
|
35
|
+
YXNMbXdzdGFNU25NN3U1UWZMcFdFWTJldVZXQkRzdGQKMmhrcG80VSswSzVT
|
|
36
|
+
d3ptZEphMFdLQXRmS3ZkdENROGk5MllJUCtIODNFdXZDU0xwZ29aaDYzRXJx
|
|
37
|
+
dVFVY25lbgphZmg1bHVUQkExaTFjcUJHNEFNSjBmTFdHeU9xSmFYOFA5WnN4
|
|
38
|
+
RERXUEVCbk5TaVd2WGIrSUttSkFWTzF1VzRrClFOODNielZXU1d1bFk4Qlk2
|
|
39
|
+
a1grSVFNd1lhelpBbEIvMTNkN2E4VTBoN0NyYjM2Sm5TUGF0aHVSemU0cUtY
|
|
40
|
+
RlEKM2YzVFVaV3d2UmZ0Y1N1K3Z0Y0JSa00wCi0tLS0tRU5EIENFUlRJRklD
|
|
41
|
+
QVRFLS0tLS0K
|
|
42
|
+
date: 2016-02-06 00:00:00.000000000 Z
|
|
34
43
|
dependencies:
|
|
35
44
|
- !ruby/object:Gem::Dependency
|
|
36
45
|
name: sensu-plugin
|
|
37
46
|
requirement: !ruby/object:Gem::Requirement
|
|
38
47
|
requirements:
|
|
39
|
-
- -
|
|
48
|
+
- - ~>
|
|
40
49
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.2
|
|
50
|
+
version: '1.2'
|
|
42
51
|
type: :runtime
|
|
43
52
|
prerelease: false
|
|
44
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
54
|
requirements:
|
|
46
|
-
- -
|
|
55
|
+
- - ~>
|
|
47
56
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 1.2
|
|
57
|
+
version: '1.2'
|
|
49
58
|
- !ruby/object:Gem::Dependency
|
|
50
59
|
name: vmstat
|
|
51
60
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -64,142 +73,141 @@ dependencies:
|
|
|
64
73
|
name: bundler
|
|
65
74
|
requirement: !ruby/object:Gem::Requirement
|
|
66
75
|
requirements:
|
|
67
|
-
- -
|
|
76
|
+
- - ~>
|
|
68
77
|
- !ruby/object:Gem::Version
|
|
69
78
|
version: '1.7'
|
|
70
79
|
type: :development
|
|
71
80
|
prerelease: false
|
|
72
81
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
82
|
requirements:
|
|
74
|
-
- -
|
|
83
|
+
- - ~>
|
|
75
84
|
- !ruby/object:Gem::Version
|
|
76
85
|
version: '1.7'
|
|
77
86
|
- !ruby/object:Gem::Dependency
|
|
78
87
|
name: codeclimate-test-reporter
|
|
79
88
|
requirement: !ruby/object:Gem::Requirement
|
|
80
89
|
requirements:
|
|
81
|
-
- -
|
|
90
|
+
- - ~>
|
|
82
91
|
- !ruby/object:Gem::Version
|
|
83
92
|
version: '0.4'
|
|
84
93
|
type: :development
|
|
85
94
|
prerelease: false
|
|
86
95
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
96
|
requirements:
|
|
88
|
-
- -
|
|
97
|
+
- - ~>
|
|
89
98
|
- !ruby/object:Gem::Version
|
|
90
99
|
version: '0.4'
|
|
91
100
|
- !ruby/object:Gem::Dependency
|
|
92
101
|
name: github-markup
|
|
93
102
|
requirement: !ruby/object:Gem::Requirement
|
|
94
103
|
requirements:
|
|
95
|
-
- -
|
|
104
|
+
- - ~>
|
|
96
105
|
- !ruby/object:Gem::Version
|
|
97
106
|
version: '1.3'
|
|
98
107
|
type: :development
|
|
99
108
|
prerelease: false
|
|
100
109
|
version_requirements: !ruby/object:Gem::Requirement
|
|
101
110
|
requirements:
|
|
102
|
-
- -
|
|
111
|
+
- - ~>
|
|
103
112
|
- !ruby/object:Gem::Version
|
|
104
113
|
version: '1.3'
|
|
105
114
|
- !ruby/object:Gem::Dependency
|
|
106
115
|
name: pry
|
|
107
116
|
requirement: !ruby/object:Gem::Requirement
|
|
108
117
|
requirements:
|
|
109
|
-
- -
|
|
118
|
+
- - ~>
|
|
110
119
|
- !ruby/object:Gem::Version
|
|
111
120
|
version: '0.10'
|
|
112
121
|
type: :development
|
|
113
122
|
prerelease: false
|
|
114
123
|
version_requirements: !ruby/object:Gem::Requirement
|
|
115
124
|
requirements:
|
|
116
|
-
- -
|
|
125
|
+
- - ~>
|
|
117
126
|
- !ruby/object:Gem::Version
|
|
118
127
|
version: '0.10'
|
|
119
128
|
- !ruby/object:Gem::Dependency
|
|
120
129
|
name: rake
|
|
121
130
|
requirement: !ruby/object:Gem::Requirement
|
|
122
131
|
requirements:
|
|
123
|
-
- -
|
|
132
|
+
- - ~>
|
|
124
133
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: '10.
|
|
134
|
+
version: '10.5'
|
|
126
135
|
type: :development
|
|
127
136
|
prerelease: false
|
|
128
137
|
version_requirements: !ruby/object:Gem::Requirement
|
|
129
138
|
requirements:
|
|
130
|
-
- -
|
|
139
|
+
- - ~>
|
|
131
140
|
- !ruby/object:Gem::Version
|
|
132
|
-
version: '10.
|
|
141
|
+
version: '10.5'
|
|
133
142
|
- !ruby/object:Gem::Dependency
|
|
134
143
|
name: redcarpet
|
|
135
144
|
requirement: !ruby/object:Gem::Requirement
|
|
136
145
|
requirements:
|
|
137
|
-
- -
|
|
146
|
+
- - ~>
|
|
138
147
|
- !ruby/object:Gem::Version
|
|
139
148
|
version: '3.2'
|
|
140
149
|
type: :development
|
|
141
150
|
prerelease: false
|
|
142
151
|
version_requirements: !ruby/object:Gem::Requirement
|
|
143
152
|
requirements:
|
|
144
|
-
- -
|
|
153
|
+
- - ~>
|
|
145
154
|
- !ruby/object:Gem::Version
|
|
146
155
|
version: '3.2'
|
|
147
156
|
- !ruby/object:Gem::Dependency
|
|
148
|
-
name:
|
|
157
|
+
name: rubocop
|
|
149
158
|
requirement: !ruby/object:Gem::Requirement
|
|
150
159
|
requirements:
|
|
151
|
-
- -
|
|
160
|
+
- - ~>
|
|
152
161
|
- !ruby/object:Gem::Version
|
|
153
|
-
version: '
|
|
162
|
+
version: '0.37'
|
|
154
163
|
type: :development
|
|
155
164
|
prerelease: false
|
|
156
165
|
version_requirements: !ruby/object:Gem::Requirement
|
|
157
166
|
requirements:
|
|
158
|
-
- -
|
|
167
|
+
- - ~>
|
|
159
168
|
- !ruby/object:Gem::Version
|
|
160
|
-
version: '
|
|
169
|
+
version: '0.37'
|
|
161
170
|
- !ruby/object:Gem::Dependency
|
|
162
|
-
name:
|
|
171
|
+
name: rspec
|
|
163
172
|
requirement: !ruby/object:Gem::Requirement
|
|
164
173
|
requirements:
|
|
165
|
-
- -
|
|
174
|
+
- - ~>
|
|
166
175
|
- !ruby/object:Gem::Version
|
|
167
|
-
version:
|
|
176
|
+
version: '3.4'
|
|
168
177
|
type: :development
|
|
169
178
|
prerelease: false
|
|
170
179
|
version_requirements: !ruby/object:Gem::Requirement
|
|
171
180
|
requirements:
|
|
172
|
-
- -
|
|
181
|
+
- - ~>
|
|
173
182
|
- !ruby/object:Gem::Version
|
|
174
|
-
version:
|
|
183
|
+
version: '3.4'
|
|
175
184
|
- !ruby/object:Gem::Dependency
|
|
176
185
|
name: yard
|
|
177
186
|
requirement: !ruby/object:Gem::Requirement
|
|
178
187
|
requirements:
|
|
179
|
-
- -
|
|
188
|
+
- - ~>
|
|
180
189
|
- !ruby/object:Gem::Version
|
|
181
190
|
version: '0.8'
|
|
182
191
|
type: :development
|
|
183
192
|
prerelease: false
|
|
184
193
|
version_requirements: !ruby/object:Gem::Requirement
|
|
185
194
|
requirements:
|
|
186
|
-
- -
|
|
195
|
+
- - ~>
|
|
187
196
|
- !ruby/object:Gem::Version
|
|
188
197
|
version: '0.8'
|
|
189
|
-
description:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
email: "<sensu-users@googlegroups.com>"
|
|
198
|
+
description: ! "This plugin provides native memory instrumentation\n for
|
|
199
|
+
monitoring and metrics collection, including:\n memory
|
|
200
|
+
usage via `free` and `vmstat`, including metrics.\n Note
|
|
201
|
+
that this plugin may have cross-platform issues."
|
|
202
|
+
email: <sensu-users@googlegroups.com>
|
|
195
203
|
executables:
|
|
196
|
-
- metrics-memory.rb
|
|
197
|
-
- metrics-memory-percent.rb
|
|
198
|
-
- check-swap.rb
|
|
199
|
-
- check-swap-percent.rb
|
|
200
|
-
- check-ram.rb
|
|
201
|
-
- check-memory.rb
|
|
202
204
|
- check-memory-percent.rb
|
|
205
|
+
- check-memory.rb
|
|
206
|
+
- check-ram.rb
|
|
207
|
+
- check-swap-percent.rb
|
|
208
|
+
- check-swap.rb
|
|
209
|
+
- metrics-memory-percent.rb
|
|
210
|
+
- metrics-memory.rb
|
|
203
211
|
extensions: []
|
|
204
212
|
extra_rdoc_files: []
|
|
205
213
|
files:
|
|
@@ -223,7 +231,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-memory-checks
|
|
|
223
231
|
licenses:
|
|
224
232
|
- MIT
|
|
225
233
|
metadata:
|
|
226
|
-
maintainer:
|
|
234
|
+
maintainer: ! '@mattyjones'
|
|
227
235
|
development_status: active
|
|
228
236
|
production_status: unstable - testing recommended
|
|
229
237
|
release_draft: 'false'
|
|
@@ -235,17 +243,17 @@ require_paths:
|
|
|
235
243
|
- lib
|
|
236
244
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
237
245
|
requirements:
|
|
238
|
-
- -
|
|
246
|
+
- - ! '>='
|
|
239
247
|
- !ruby/object:Gem::Version
|
|
240
248
|
version: 1.9.3
|
|
241
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
250
|
requirements:
|
|
243
|
-
- -
|
|
251
|
+
- - ! '>='
|
|
244
252
|
- !ruby/object:Gem::Version
|
|
245
253
|
version: '0'
|
|
246
254
|
requirements: []
|
|
247
255
|
rubyforge_project:
|
|
248
|
-
rubygems_version: 2.4.
|
|
256
|
+
rubygems_version: 2.4.5
|
|
249
257
|
signing_key:
|
|
250
258
|
specification_version: 4
|
|
251
259
|
summary: Sensu plugins for checking memory
|
metadata.gz.sig
CHANGED
|
Binary file
|