bipbip 0.7.23 → 0.7.24

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: b0b70b5bdd15b58d733dd13ecc1c341068b47e93
4
- data.tar.gz: e3620d61a43b511ef246f1c6e7514b3448b74a19
3
+ metadata.gz: e45eb726ec4f05391219f8340d766741b6a57d35
4
+ data.tar.gz: 8bc4407df9ba7af756bd687528fca256fc9f2751
5
5
  SHA512:
6
- metadata.gz: db920fc2703441000715ad386652284727de9d27a25c59621d7b89592798fb4ccc5626555c3e367d937fd37f7c330225aa399ca1f6650a9cfc65a0aca79333ee
7
- data.tar.gz: 244c2953d43b704c264d1a0c1cf5ae5b57cbcfd913aa91875034016df291ddcab3534fe2662a7b3f7a859fa6a8436ac23b169480b06e622a92a65e63f2d5822b
6
+ metadata.gz: 8807209cd5da27d2a57aee046d4c58597277aa98eaa98222c2a44bf537610b53c36be1e32ae9e6ccc03cb38bf987fa0e64891148624d45de7c599d7270f52a64
7
+ data.tar.gz: a806a085a40c8b2362073d0a4ea87447c613c604c6888668dd3f22b20d02f1bac78f8466bbd5fbfc15d95d5b14cf1bcb8a1bd246c8e6b094a535e7a79c8ef762
@@ -64,8 +64,13 @@ module Bipbip
64
64
 
65
65
  data = {}
66
66
 
67
- if stats.key?('Slave_SQL_Running') && stats.key?('Slave_SQL_Running')
68
- stats['Slave_running'] = ('Yes' === stats['Slave_SQL_Running'] && 'Yes' === stats['Slave_SQL_Running']) ? 'Yes' : 'No'
67
+ if stats.key?('Slave_IO_Running') && stats.key?('Slave_SQL_Running')
68
+ stats['Slave_running'] = ('Yes' === stats['Slave_IO_Running'] && 'Yes' === stats['Slave_SQL_Running']) ? 'Yes' : 'No'
69
+ log(Logger::INFO, "Slave_running: #{stats['Slave_running']}, \
70
+ Slave_IO_Running: #{stats['Slave_IO_Running']}, \
71
+ Slave_SQL_Running: #{stats['Slave_SQL_Running']}")
72
+ else
73
+ log(Logger::INFO, "Slave_running: #{stats['Slave_running']}")
69
74
  end
70
75
 
71
76
  metrics_schema.each do |metric|
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.7.23'.freeze
2
+ VERSION = '0.7.24'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bipbip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.23
4
+ version: 0.7.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media