From f4483bfd63be3d74f42e027cfbb2a8929ebc9ac1 Mon Sep 17 00:00:00 2001 From: Mike Bryant Date: Thu, 28 Jan 2016 00:00:42 +0000 Subject: Strip more temperature and voltage output from different models --- lib/oxidized/model/aosw.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model') 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" -- cgit v1.2.1