From 5cfdbaa959b86d2c8e65963a828ab309302c9020 Mon Sep 17 00:00:00 2001 From: Bartek Date: Tue, 5 Jun 2018 15:34:20 +0200 Subject: edgecos overly verbose memory and uptime (#1366) --- lib/oxidized/model/edgecos.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/oxidized/model/edgecos.rb b/lib/oxidized/model/edgecos.rb index 3668769..e92686c 100644 --- a/lib/oxidized/model/edgecos.rb +++ b/lib/oxidized/model/edgecos.rb @@ -13,15 +13,8 @@ class EdgeCOS < Oxidized::Model cmd 'show running-config' - cmd 'show access-list tcam-utilization' do |cfg| - comment cfg - end - - cmd 'show memory' do |cfg| - comment cfg - end - cmd 'show system' do |cfg| + cfg.gsub! /^\s*System Up Time\s*:.*\n/i, '' comment cfg end -- cgit v1.2.1