summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/fortios.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-02-04 20:19:24 +0200
committerytti <saku@ytti.fi>2016-02-04 20:19:24 +0200
commitae1fc4d7b79e818274b0325bc52e9eeb03dda1f5 (patch)
tree8953dbf2808bb200ca389df0556ef6b6bec2beac /lib/oxidized/model/fortios.rb
parenta26f6f42aad72d8aac3e4eb107bf6458fc6d302f (diff)
parenta532a6307796d2195f827930304100c3b48ed20e (diff)
Merge pull request #305 from Shopify/master
Strip system time value in fortios output
Diffstat (limited to 'lib/oxidized/model/fortios.rb')
-rw-r--r--lib/oxidized/model/fortios.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb
index a9d219c..41bdede 100644
--- a/lib/oxidized/model/fortios.rb
+++ b/lib/oxidized/model/fortios.rb
@@ -11,6 +11,7 @@ class FortiOS < Oxidized::Model
cmd 'get system status' do |cfg|
@vdom_enabled = cfg.include? 'Virtual domain configuration: enable'
+ cfg.gsub!(/(System time: )(.*)/, '\1<stripped>\3')
comment cfg
end