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 +4 -4
- data/lib/bipbip/plugin/mysql.rb +7 -2
- data/lib/bipbip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e45eb726ec4f05391219f8340d766741b6a57d35
|
4
|
+
data.tar.gz: 8bc4407df9ba7af756bd687528fca256fc9f2751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8807209cd5da27d2a57aee046d4c58597277aa98eaa98222c2a44bf537610b53c36be1e32ae9e6ccc03cb38bf987fa0e64891148624d45de7c599d7270f52a64
|
7
|
+
data.tar.gz: a806a085a40c8b2362073d0a4ea87447c613c604c6888668dd3f22b20d02f1bac78f8466bbd5fbfc15d95d5b14cf1bcb8a1bd246c8e6b094a535e7a79c8ef762
|
data/lib/bipbip/plugin/mysql.rb
CHANGED
@@ -64,8 +64,13 @@ module Bipbip
|
|
64
64
|
|
65
65
|
data = {}
|
66
66
|
|
67
|
-
if stats.key?('
|
68
|
-
stats['Slave_running'] = ('Yes' === stats['
|
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|
|
data/lib/bipbip/version.rb
CHANGED