From 38d5893b83d0a9cf798813d32e27233615e5fb56 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Thu, 14 Jun 2018 22:06:33 +0200 Subject: scrub temperature from 'show system' in edgecos, closes #1394 (#1399) --- lib/oxidized/model/edgecos.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/model/edgecos.rb') diff --git a/lib/oxidized/model/edgecos.rb b/lib/oxidized/model/edgecos.rb index e92686c..8c69d71 100644 --- a/lib/oxidized/model/edgecos.rb +++ b/lib/oxidized/model/edgecos.rb @@ -15,6 +15,7 @@ class EdgeCOS < Oxidized::Model cmd 'show system' do |cfg| cfg.gsub! /^\s*System Up Time\s*:.*\n/i, '' + cfg.gsub! /^\s*(Temperature \d*:).*\n/i, '\\1 ' comment cfg end -- cgit v1.2.1