summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-06-13 17:15:45 +0200
committerGitHub <noreply@github.com>2018-06-13 17:15:45 +0200
commit4d5edf4a284ec1244f3e2c4d09d54ea902736e65 (patch)
tree8e7b38438815fb4a3cb670bcb60deff9a1108950 /lib/oxidized/model
parent896235cf3993b9fb446541dd673c00191e713a2f (diff)
ciscosmb uptime filter is for show system (#1388)
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/ciscosmb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb
index ef6f4e6..e3a7f2a 100644
--- a/lib/oxidized/model/ciscosmb.rb
+++ b/lib/oxidized/model/ciscosmb.rb
@@ -16,7 +16,6 @@ class CiscoSMB < Oxidized::Model
cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>'
cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '<secret hidden>'
cfg.gsub! /^(encrypted radius-server key).*/, '\\1 <configuration removed>'
- cfg.gsub! /System Up Time.*/, ''
cfg
end
@@ -25,6 +24,7 @@ class CiscoSMB < Oxidized::Model
end
cmd 'show system' do |cfg|
+ cfg.gsub! /System Up Time.*/, ''
comment cfg
end