riemann-babbler 1.0.5.3 → 1.0.5.4

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.
@@ -49,6 +49,13 @@ class Riemann::Babbler::Uplay < Riemann::Babbler
49
49
  array << { :service => plugin.service + ' enough_decoded_frames', :description => 'Uplay not cope with the load', :metric => 1, :state => 'critical' }
50
50
  end
51
51
 
52
+ # "enough_net_frames" - достаточно ли фреймов приходит по сети, true/false
53
+ if status['enough_net_frames']
54
+ array << { :service => plugin.service + ' enough_net_frames', :description => 'status enough_net_frames ok', :metric => 0, :state => 'ok' }
55
+ else
56
+ array << { :service => plugin.service + ' enough_net_frames', :description => 'Not enough net frames to play', :metric => 1, :state => 'critical' }
57
+ end
58
+
52
59
  array << { :service => plugin.service + ' player_state', :description => "current player state: #{status['player_state']}", :metric => 0, :state => 'ok' }
53
60
 
54
61
  array
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '1.0.5.3'
3
+ VERSION = '1.0.5.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5.3
4
+ version: 1.0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-07 00:00:00.000000000 Z
12
+ date: 2013-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riemann-client