sensu-plugins-rabbitmq-cloudwatch 0.1.0 → 0.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
  SHA1:
3
- metadata.gz: 52bd1739223b94c9bb72fc266cec8c5d2d88e6cc
4
- data.tar.gz: 75f21f3235a75ded8ffffcab6b3448259d575333
3
+ metadata.gz: 88a05e3915ad857e7f0add2890145d27b75d7b0a
4
+ data.tar.gz: c3207a3870b1e7b348a5f830e67a5b717614da3d
5
5
  SHA512:
6
- metadata.gz: 3217c3c9e626d209471f1e6050671669ad3bef16be1e2c1d823fc7b73d9061f0eaaa51480fa9e73c6c620bf661fee2388519285e7ac566bdb056a35a74d0ab55
7
- data.tar.gz: 25c23bdfffe394fe1c2670d9ca7d902d601f4a5940a5ea2338ecb1dc738603b6de213c29c3828a99df8ab2b8549eac947818e2cf0e42065ad2f6a8dbb2ab2a1b
6
+ metadata.gz: b76dd6245bf3272d84adb550a6851baabbe03cad60ac77a796b22d52643324d9170acb4cd10164b9b180c0659cd729f0ff674d5514e6411e2ce10c39d0817823
7
+ data.tar.gz: 5c897a2294810acdbe1525de4d03872cb152e479daed57dd7e2d8a13114be9ec2d51999a39c15dd49654ea143efa129fc95507962d15461e18d12e248cceaf2d
@@ -72,11 +72,11 @@ class MetricsRabbitMQ < Sensu::Plugin::CLI
72
72
  cloudwatch.put_metric_data(namespace: config[:namespace], metric_data: m)
73
73
  end
74
74
 
75
- ok
75
+ ok('ok')
76
76
  rescue => e
77
77
  STDOUT.puts e.message
78
78
  STDOUT.puts e.backtrace
79
- exit(2)
79
+ warning(e.message)
80
80
  end
81
81
 
82
82
  def counts
@@ -2,7 +2,7 @@ module Sensu
2
2
  module Plugins
3
3
  module Rabbitmq
4
4
  module Cloudwatch
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-rabbitmq-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Watts