Skip to content

Commit

Permalink
Merge pull request #3073 from SaulGoodman1337/patch-1
Browse files Browse the repository at this point in the history
remove uptime from devices like S5860-20SQ
  • Loading branch information
robertcheramy authored Mar 5, 2024
2 parents 40b7f16 + 37aa774 commit 30ada6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/oxidized/model/fsos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class FSOS < Oxidized::Model
cmd 'show version' do |cfg|
# Remove uptime so the result doesn't change every time
cfg.gsub! /.*uptime is.*\n/, ''
cfg.gsub! /.*System uptime.*\n/, ''
comment cfg
end

Expand Down

0 comments on commit 30ada6b

Please sign in to comment.