summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bryant <m@ocado.com>2016-03-03 12:35:22 +0000
committerMike Bryant <m@ocado.com>2016-03-03 12:35:22 +0000
commit01b0f992d2e7e1f4dbe9c390be1f369bc03b5d5a (patch)
treeaeba8e6de5ce0d05c57e02b565f74aae2fba85d0
parentf5c882fdd1e110221ab6905862b34798e5ab4ff0 (diff)
TMOS: Strip out the irule-down state
-rw-r--r--lib/oxidized/model/tmos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index 9632ba7..abaec9f 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -23,7 +23,7 @@ class TMOS < Oxidized::Model
cmd('cat /config/bigip.license') { |cfg| comment cfg }
cmd 'tmsh -q list' do |cfg|
- cfg.gsub!(/state (up|down|checking)/, '')
+ cfg.gsub!(/state (up|down|checking|irule-down)/, '')
cfg.gsub!(/errors (\d+)/, '')
cfg
end