summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-01-26 20:28:26 +0200
committerytti <saku@ytti.fi>2016-01-26 20:28:26 +0200
commit545d4354505970b607346b4625161e75cd9b5bfc (patch)
tree2bd69b7223c16afab33cdf9d443606d5694f49b7
parentc39e8ebb2e19d718d039dc0c659d76b4469a750f (diff)
parentafcd899da2a077736ee9b92ce25839924626ce87 (diff)
Merge pull request #286 from ocadotechnology/aruba-strip-rpms0.11.0
Strip CPU Fan Speed
-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 43e1cff..81d3243 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|mV|C)$/
+ next if line.match /[0-9]+ (RPM|RPMs|mV|C)$/
out << line.strip
end
out = comment out.join "\n"