sensu-plugins-process-checks 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7322081334ecbad95da949952e23b5487d0351d8
4
- data.tar.gz: 60fc93cf57746f3524e691401e88bf6360f47375
3
+ metadata.gz: 09b733d6bdedcd78d3eb5d607b8efd1ca58e67ec
4
+ data.tar.gz: 1efa3e75c4a73b034eaf991b8bd0456b93050f63
5
5
  SHA512:
6
- metadata.gz: f615e23ec960b1f1919f0c0f574d46c1bdb5763fa01fc89ff3b7bd5547185ddf969134b9c2cafb9d81c86f1e00d6610a45955ebc952863d06c174bb3caa8e177
7
- data.tar.gz: 1d8fd086ce01cc65d52d81440c9048a2b44079ab64fda9711e2b1447225a2d0206adf222a80b9fdd073801c6e416527af911044ed1624cc6ee3274203e1a1beb
6
+ metadata.gz: 8addda414b9a6c4fa6eab9df192cbdf3aee9094c737a0f8a4b83e39caa435ec71c00888234425e633a3a427564fd46859b65f1d7c92eee4f36fb227db7659803
7
+ data.tar.gz: 6cfd6704429d9c5ac42c9a1e88db52508bf1ff881c62e2778753839fcdb7262bcad851d8ea1f1ba077b18088e033f5ef657b4d6e624af9f2fada17b0cd5c7059
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
+ ## [2.2.0] - 2017-05-28
8
+ ### Changed
9
+ - metrics-per-process.py: Fallback to importing Counter from backport_collections for Python 2.6 support.
10
+
7
11
  ## [2.1.0] - 2017-05-25
8
12
  ### Added
9
13
  - metrics-per-process.rb: Binstub for metrics-per-process.py
@@ -118,8 +122,9 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
118
122
  - built against 1.9.3, 2.0, 2.1
119
123
  - cryptographically signed
120
124
 
121
- [unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.1.0...HEAD
122
- [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.0.0...2.1.0
125
+ [unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.2.0...HEAD
126
+ [2.2.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.1.0...2.2.0
127
+ [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.0.0...2.1.0
123
128
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/1.0.0...2.0.0
124
129
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/0.0.6...1.0.0
125
130
  [0.0.6]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/0.0.5...0.0.6
@@ -11,7 +11,7 @@
11
11
  # Linux
12
12
  #
13
13
  # DEPENDENCIES:
14
- # Python 2.7+ (untested on Python3, should work though)
14
+ # Python 2.6+ (untested on Python3, should work though)
15
15
  # Python module: psutil https://pypi.python.org/pypi/psutil
16
16
  #
17
17
  # USAGE:
@@ -68,8 +68,11 @@ import optparse
68
68
  import psutil
69
69
  import sys
70
70
  import time
71
- from collections import Counter
72
71
 
72
+ try:
73
+ from collections import Counter
74
+ except ImportError:
75
+ from backport_collections import Counter
73
76
 
74
77
  PROC_ROOT_DIR = '/proc/'
75
78
  TCP_CONN_STATUSES = [
@@ -221,4 +224,3 @@ def main():
221
224
  #
222
225
  if __name__ == '__main__':
223
226
  main()
224
-
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsProcessChecks
2
2
  module Version
3
3
  MAJOR = 2
4
- MINOR = 1
4
+ MINOR = 2
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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: 2.1.0
4
+ version: 2.2.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: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: english