diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/junos.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 2572b93..6ba18ad 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -41,7 +41,11 @@ class JunOS < Oxidized::Model out end - cmd('show chassis environment') { |cfg| comment cfg } + cmd('show chassis environment') do |cfg| + cfg.gsub! /\d+ degrees.* F/, '<measurement stripped>' + cfg.gsub! /Spinning at \S+/, '<measurement stripped>' + comment cfg + end cmd('show chassis firmware') { |cfg| comment cfg } cmd('show chassis fpc detail') { |cfg| comment cfg } cmd('show chassis hardware detail') { |cfg| comment cfg } |