arvicco-avalon 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/avalon/miner.rb +1 -1
- data/lib/avalon/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -41,7 +41,7 @@ Monitor script is periodically polling the mining units and other types of objec
|
|
41
41
|
prod:
|
42
42
|
:alert_after: 2 # missed pings or status reports from a miner
|
43
43
|
:alert_temp_high: 52 # degrees C and above
|
44
|
-
:alert_temp_low: 30 # degrees C and below
|
44
|
+
:alert_temp_low: 30 # degrees C and below, Avalon miners only
|
45
45
|
:alert_last_share: 2 # minutes since last share hashed
|
46
46
|
:alert_sounds:
|
47
47
|
:failure: Glass.aiff # [] for no sound
|
data/lib/avalon/miner.rb
CHANGED
@@ -109,7 +109,7 @@ module Avalon
|
|
109
109
|
alarm "Miner #{num} last shares was #{duration(self[:last])} min ago", :last_share
|
110
110
|
elsif temp >= @config[:alert_temp_high]
|
111
111
|
alarm "Miner #{num} too hot at #{temp}°C, needs cooling", :temp_high
|
112
|
-
elsif temp <= @config[:alert_temp_low]
|
112
|
+
elsif self[:freq] && temp <= @config[:alert_temp_low]
|
113
113
|
alarm "Miner #{num} temp low at #{temp}°C, is it hashing at all?", :temp_low
|
114
114
|
end
|
115
115
|
end
|
data/lib/avalon/version.rb
CHANGED