diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-06-13 17:15:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 17:15:45 +0200 |
commit | 4d5edf4a284ec1244f3e2c4d09d54ea902736e65 (patch) | |
tree | 8e7b38438815fb4a3cb670bcb60deff9a1108950 /lib | |
parent | 896235cf3993b9fb446541dd673c00191e713a2f (diff) |
ciscosmb uptime filter is for show system (#1388)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/ciscosmb.rb | 2 |
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 |