diff options
author | Robert Drake <rfdrake@users.noreply.github.com> | 2017-06-14 17:48:29 -0400 |
---|---|---|
committer | Robert Drake <rfdrake@users.noreply.github.com> | 2017-06-14 17:48:29 -0400 |
commit | 0bc9a9247d36ee6131fc5456b5e30f5ae2412ceb (patch) | |
tree | 6ba377aea3db91c3e8f918480dae469a39e7397f | |
parent | dc425ce5bc3143cf4b8322602d7b7521aca37134 (diff) |
remove Uptime from dlink "show switch"
fixes #878
-rw-r--r-- | lib/oxidized/model/dlink.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/dlink.rb b/lib/oxidized/model/dlink.rb index 5756bad..0d08793 100644 --- a/lib/oxidized/model/dlink.rb +++ b/lib/oxidized/model/dlink.rb @@ -15,6 +15,7 @@ class Dlink < Oxidized::Model end cmd 'show switch' do |cfg| + cfg.gsub! /^System\ Uptime\s.+/, '' # Omit constantly changing uptime info comment cfg end |