diff options
author | Mike Bryant <mike@mikebryant.me.uk> | 2016-01-28 00:00:42 +0000 |
---|---|---|
committer | Mike Bryant <mike@mikebryant.me.uk> | 2016-01-28 00:00:42 +0000 |
commit | f4483bfd63be3d74f42e027cfbb2a8929ebc9ac1 (patch) | |
tree | df9d4f422d1354378f81dff0d8cca0e54d27605b /lib/oxidized/model | |
parent | 4fbf00dbd1e295664717f0d963e3aadee3935a19 (diff) |
Strip more temperature and voltage output from different models
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/aosw.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb index 81d3243..5135115 100644 --- a/lib/oxidized/model/aosw.rb +++ b/lib/oxidized/model/aosw.rb @@ -56,7 +56,7 @@ class AOSW < Oxidized::Model next if line.match /Output \d Config/i next if line.match /(Tachometers|Temperatures|Voltages)/ next if line.match /((Card|CPU) Temperature|Chassis Fan|VMON1[0-9])/ - next if line.match /[0-9]+ (RPM|RPMs|mV|C)$/ + next if line.match /[0-9]+ (RPMS?|m?V|C)/i out << line.strip end out = comment out.join "\n" |