diff options
author | rivo nurges <rivo@surfar.ee> | 2015-04-28 08:21:10 +0000 |
---|---|---|
committer | rivo nurges <rivo@surfar.ee> | 2015-04-28 08:21:10 +0000 |
commit | ba6b0f9fb3d0276b4dfe795b878c4712233e342b (patch) | |
tree | 0c017267d66255efaf9f2e28c77358908661472f | |
parent | eb753e2d8c19bd99ea36d8b0f492aaff5bb996bf (diff) |
Skip Datetime and Uptime from system information
-rw-r--r-- | lib/oxidized/model/screenos.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb index c13e64a..7ee9d9f 100644 --- a/lib/oxidized/model/screenos.rb +++ b/lib/oxidized/model/screenos.rb @@ -18,6 +18,8 @@ class ScreenOS < Oxidized::Model end cmd 'get system' do |cfg| + cfg.gsub! /^Date\ .*\n/, '' + cfg.gsub! /^Up\ .*\n/, '' comment cfg end |