summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorMike Bryant <mike@mikebryant.me.uk>2016-01-28 00:00:42 +0000
committerMike Bryant <mike@mikebryant.me.uk>2016-01-28 00:00:42 +0000
commitf4483bfd63be3d74f42e027cfbb2a8929ebc9ac1 (patch)
treedf9d4f422d1354378f81dff0d8cca0e54d27605b /lib/oxidized
parent4fbf00dbd1e295664717f0d963e3aadee3935a19 (diff)
Strip more temperature and voltage output from different models
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/aosw.rb2
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"