sensu-plugins-graphite 3.1.0 → 3.1.1

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
  SHA256:
3
- metadata.gz: 204bf1861612ef4888bbdefed76fe002ea60b9a1e504074197a9fec3681dea07
4
- data.tar.gz: 3bbea4447ff75a5f688dc854552a3fb421dcb9a175d370aa53363cad69301a6f
3
+ metadata.gz: 92a23eda1e497ac669fca6b81921654cca7594d625b1a4b01eab7ff0aa28badf
4
+ data.tar.gz: 8aad6d44e01c7b2990b213bac50f97089757f55449e10127d9e8b8a9db981508
5
5
  SHA512:
6
- metadata.gz: 8210880e6ef126f5636ec836b6f61f4e9aeef7992c49ed3547e5646c72a0b23f4ff764dff694743aea9ad6cf60d8136693049794079556b43f5115549d42a3ee
7
- data.tar.gz: 3cffb6e9a187114891b99a3ee3ae09c865da2107069dbd5261b6752712c01b229b9164d586acca91c57382631d30abb18357f1806ffc3dfd755899d559ef7e75
6
+ metadata.gz: 8778353c166237304cc7f5484130bb6c41d1ae6576a7013aff471a13de8242aa63e1fcd242f9c0b016907e859f7e8e6bd1175987bc1088dc8900d5266fc154c6
7
+ data.tar.gz: d789e076cdd7a087f056bad118ba3fa0a1570e14a45ab7486b240a4a0efabd6cf3128b08786ec632ad8cf5bf45276c73479a70951b412bc5615d8caea01bfaf7
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.1.1] - 2018-09-26
9
+ ### Fixed
10
+ - handler-graphite-status.rb: use proper rescue class (@MrMisa93)
11
+ - handler-graphite-notify.rb: use proper rescue class (@majormoses)
12
+
8
13
  ## [3.1.0] - 2018-02-28
9
14
  ### Added
10
15
  - Added -t flag to handler-graphite-event.rb to support post 1.0 versions of graphite which require tags sent as arrays. (@jwatroba)
@@ -97,7 +102,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
97
102
  ### Added
98
103
  - initial release
99
104
 
100
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/3.1.0...HEAD
105
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/3.1.1...HEAD
106
+ [3.1.1]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/3.1.0...3.1.1
101
107
  [3.1.0]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/3.0.0...3.1.0
102
108
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/2.2.1...3.0.0
103
109
  [2.3.0]: https://github.com/sensu-plugins/sensu-plugins-graphite/compare/2.2.1...2.3.0
@@ -32,7 +32,7 @@ class Resolve < Sensu::Handler
32
32
  graphite.push_to_graphite do |graphite_socket|
33
33
  graphite_socket.puts message
34
34
  end
35
- rescue ETIMEDOUT
35
+ rescue Errno::ETIMEDOUT
36
36
  error_msg = "Can't connect to #{settings[json_config]['host']}:#{port} and send message #{message}'"
37
37
  raise error_msg
38
38
  end
@@ -33,7 +33,7 @@ class Resolve < Sensu::Handler
33
33
  graphite.push_to_graphite do |graphite_socket|
34
34
  graphite_socket.puts message
35
35
  end
36
- rescue ETIMEDOUT
36
+ rescue Errno::ETIMEDOUT
37
37
  error_msg = "Can't connect to #{settings[json_config]['host']}:#{port} and send message #{message}'"
38
38
  raise error_msg
39
39
  end
@@ -2,7 +2,7 @@ module SensuPluginsGraphite
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.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: 2018-03-01 00:00:00.000000000 Z
11
+ date: 2018-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_stats
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  version: '0'
269
269
  requirements: []
270
270
  rubyforge_project:
271
- rubygems_version: 2.7.6
271
+ rubygems_version: 2.7.7
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: Sensu plugins for graphite