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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8c94bd72b630766e66e4c631d4f7e54e58ec9449
4
- data.tar.gz: b054566c3d4bbac7823dc2c8e79af6c67b479cb8
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2QxZGQ2Yjc5NjRhMTg5YjAyOTMyMjUxZTdhMTAwMzJjYTk0Yzg4NA==
5
+ data.tar.gz: !binary |-
6
+ ZmQ2M2IzMzQ0MWUzMzJlOWJhMDYxNjhjODdjODdlYjYxMjVjMTYxMg==
5
7
  SHA512:
6
- metadata.gz: 533c44aa66fb2bff6f4a819e2faaa953d5b9a3872ebaf788a8fe04b22358d97d02471b038d492529f6b991750ed9ac8cfcefc7e7ed7974ca80210e2fd75642c0
7
- data.tar.gz: 594ea7e250f31887b786fed39b883f70b4f53729749559f115aa1f38f7786eb18bdf5f13773324797b298c1e8e64832568064d7e7064539a73e0144d922f7029
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
- �Ѿ� ��r����;��],�t.��¦�,����CU�X�q��l7ۏZ�$�} j�� W캨Z�G��k+N���@yh<+���L�!1����<R)*~j���������֑G�7�4' ���+�1�c�(#�E�Ua��-E�k��&.�9լ#>�u�󩲹V~&�]���Z��s�@*=��S_!�d�z�{�F�� vD�.��e�`�Z#0��8�
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] - [2015-06-29]
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] - [2015-06-03]
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 - [2015-05-21]
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.7...HEAD
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.5]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/0.0.5...0.0.6
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
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-memory-checks)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-memory-checks.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-memory-checks)
8
- [ ![Codeship Status for sensu-plugins/sensu-plugins-memory-checks](https://codeship.com/projects/a76e31a0-dc03-0132-9d16-1e3fe125131b/status?branch=master)](https://codeship.com/projects/79854)
9
8
 
10
9
  ## Functionality
11
10
 
12
11
  ## Files
13
- * bin/check-mem.rb
14
- * bin/check-mem.sh
15
- * bin/check-memory-pcnt.rb
16
- * bin/check-memory-pcnt.sh
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-percentage.rb
19
- * bin/check-swap-percentage.sh
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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  bin_dir = File.expand_path(File.dirname(__FILE__))
4
- shell_script_path = File.join(bin_dir, 'check-memory-percent.sh')
4
+ shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh')
5
5
 
6
6
  exec shell_script_path, *ARGV
data/bin/check-memory.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  bin_dir = File.expand_path(File.dirname(__FILE__))
4
- shell_script_path = File.join(bin_dir, 'check-memory.sh')
4
+ shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh')
5
5
 
6
6
  exec shell_script_path, *ARGV
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 && `awk '{print $3}' /etc/redhat-release` =~ ^2[0-9]{1} ]]; then
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 && `awk '{print $7}' /etc/redhat-version` =~ ^7\.[0-9]{1} ]]; then
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 && `awk '{print $4}' /etc/redhat-release` =~ ^7\.[0-9]{1} ]]; then
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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  bin_dir = File.expand_path(File.dirname(__FILE__))
4
- shell_script_path = File.join(bin_dir, 'check-swap-percent.sh')
4
+ shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh')
5
5
 
6
6
  exec shell_script_path, *ARGV
data/bin/check-swap.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  bin_dir = File.expand_path(File.dirname(__FILE__))
4
- shell_script_path = File.join(bin_dir, 'check-swap.sh')
4
+ shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh')
5
5
 
6
6
  exec shell_script_path, *ARGV
@@ -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.match(/^MemTotal/)
56
- mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^MemFree/)
57
- mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Buffers/)
58
- mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Cached/)
59
- mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^SwapTotal/)
60
- mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^SwapFree/)
61
- mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Dirty/)
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
- swptot = 1
72
- else
73
- swptot = mem['swapTotal']
74
- end
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
@@ -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.match(/^MemTotal/)
52
- mem['free'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^MemFree/)
53
- mem['buffers'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Buffers/)
54
- mem['cached'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Cached/)
55
- mem['swapTotal'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^SwapTotal/)
56
- mem['swapFree'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^SwapFree/)
57
- mem['dirty'] = line.split(/\s+/)[1].to_i * 1024 if line.match(/^Dirty/)
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']
@@ -2,7 +2,7 @@ module SensuPluginsMemoryChecks
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 8
5
+ PATCH = 9
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.8
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
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-09-29 00:00:00.000000000 Z
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.0
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.0
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.0'
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.0'
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: rspec
157
+ name: rubocop
149
158
  requirement: !ruby/object:Gem::Requirement
150
159
  requirements:
151
- - - "~>"
160
+ - - ~>
152
161
  - !ruby/object:Gem::Version
153
- version: '3.1'
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: '3.1'
169
+ version: '0.37'
161
170
  - !ruby/object:Gem::Dependency
162
- name: rubocop
171
+ name: rspec
163
172
  requirement: !ruby/object:Gem::Requirement
164
173
  requirements:
165
- - - '='
174
+ - - ~>
166
175
  - !ruby/object:Gem::Version
167
- version: 0.32.1
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: 0.32.1
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
- This plugin provides native memory instrumentation
191
- for monitoring and metrics collection, including:
192
- memory usage via `free` and `vmstat`, including metrics.
193
- Note that this plugin may have cross-platform issues.
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: "@mattyjones"
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.8
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