summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Beers <paul@peezs.nl>2017-06-09 10:13:02 +0200
committerPaul Beers <paul@peezs.nl>2017-06-09 10:13:02 +0200
commit2e74e3fb2a9369beba64be0176c9d89e91f37bf0 (patch)
treeffe423ed0f50576bd467990b00cd40df62c8ec9b /lib
parent2455a32780ceadd68d356b194275279046052ae1 (diff)
Fixed ADX temperature reporting
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/ironware.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index f4f9f36..ee45e32 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -35,6 +35,7 @@ class IronWare < Oxidized::Model
cfg.gsub! /Speed = [A-Z-]{2,6} \(\d{2,3}\%\)/, '' #remove unwanted lines Speed Fans
cfg.gsub! /current speed is [A-Z]{2,6} \(\d{2,3}\%\)/, ''
cfg.gsub! /Fan [1-6] - STATUS: OK [A-Z()[0-9] :-]{0,30}/, '' # Fix for ADX Fan speed reporting
+ cfg.gsub! /[0-9][0-9] deg C/, '' # Fix for ADX temperature reporting
cfg.gsub! /([\[]*)1([\]]*)<->([\[]*)2([\]]*)(<->([\[]*)3([\]]*))*/, ''
cfg.gsub! /\d{2}\.\d deg-C/, 'XX.X deg-C'
if cfg.include? "TEMPERATURE"