lib/oxidized/model/aosw.rb in oxidized-0.10.0 vs lib/oxidized/model/aosw.rb in oxidized-0.11.0
- old
+ new
@@ -54,10 +54,10 @@
cfg.each_line do |line|
# drop the temperature, fan speed and voltage, which change each run
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"
out << "\n"
end