summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorBartek <bartek@sq9mev.info>2018-06-05 15:34:20 +0200
committerWild Kat <wk@users.noreply.github.com>2018-06-05 15:34:20 +0200
commit5cfdbaa959b86d2c8e65963a828ab309302c9020 (patch)
tree22ba13bc0e4399a1889bb2af92238b870b4ac5ed /lib/oxidized/model
parentff4eaaebf749e6b91ea0ef96c3eaa36776e9a4b5 (diff)
edgecos overly verbose memory and uptime (#1366)
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/edgecos.rb9
1 files changed, 1 insertions, 8 deletions
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