Skip to content

Commit

Permalink
Ignore bandwidth usage on F5 bigip version 14 (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaceFPV authored and wk committed Feb 12, 2019
1 parent 1c4823d commit 8a8c934
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/oxidized/model/tmos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class TMOS < Oxidized::Model
cmd 'tmsh -q list' do |cfg|
cfg.gsub!(/state (up|down|checking|irule-down)/, '')
cfg.gsub!(/errors (\d+)/, '')
cfg.gsub!(/^\s+bandwidth-bps (\d+)/, '')
cfg.gsub!(/^\s+bandwidth-cps (\d+)/, '')
cfg.gsub!(/^\s+bandwidth-pps (\d+)\n/, '')
cfg
end

Expand Down

0 comments on commit 8a8c934

Please sign in to comment.