summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-06-18 13:51:22 +0300
committerytti <saku@ytti.fi>2015-06-18 13:51:22 +0300
commitf9575d3450d1684cf0f9d57bbe92ed822f1249d0 (patch)
treed253860e4ded48fa41502ae66e3c67e8cc4244f8 /lib/oxidized/model
parentf3201413e955fa56ae7cb08c93c6926d2c306d0c (diff)
parent1e6bb85edcd339b82a6b42f50357a5bef84147c6 (diff)
Merge pull request #136 from FlorianDoublet/ironwareModif
Remove more uptime lines
Diffstat (limited to 'lib/oxidized/model')
-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