summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorroot <florian.doublet@hotmail.fr>2015-06-18 12:00:37 +0200
committerroot <florian.doublet@hotmail.fr>2015-06-18 12:00:37 +0200
commit1e6bb85edcd339b82a6b42f50357a5bef84147c6 (patch)
treebaacc41d2ecbcbc525f86539785243cf78cf4d94 /lib/oxidized/model/ironware.rb
parent59e87d0e1ebb477735b9c63f54c6ae5436cfd334 (diff)
Remove more uptime lines
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r--lib/oxidized/model/ironware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index 83af5a1..ad795d5 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -26,7 +26,7 @@ class IronWare < Oxidized::Model
cmd 'show version' do |cfg|
cfg.gsub! /(^((.*)[Ss]ystem uptime(.*))$)/, '' #remove unwanted line system uptime
- cfg.gsub! /uptime is .*/,''
+ cfg.gsub! /[Uu]p\s?[Tt]ime is .*/,''
comment cfg
end