From bf50a587aac201304e0bcfafa6864e1d5d8b2753 Mon Sep 17 00:00:00 2001 From: vppencilsharpener Date: Thu, 19 Jan 2017 15:43:29 -0500 Subject: Tweak the white space for cleaning. --- lib/oxidized/model/aosw.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/aosw.rb') diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb index 11d8442..1995292 100644 --- a/lib/oxidized/model/aosw.rb +++ b/lib/oxidized/model/aosw.rb @@ -90,7 +90,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]+ (RPMS?|m?V|C)/i + next if line.match /[0-9]+\s+(RPMS?|m?V|C)/i out << line.strip end out = comment out.join "\n" -- cgit v1.2.1