From f5c882fdd1e110221ab6905862b34798e5ab4ff0 Mon Sep 17 00:00:00 2001 From: Mike Bryant Date: Thu, 3 Mar 2016 12:29:25 +0000 Subject: TMOS: Strip out the checking state --- lib/oxidized/model/tmos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb index 9f8183f..9632ba7 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)/, '') + cfg.gsub!(/state (up|down|checking)/, '') cfg.gsub!(/errors (\d+)/, '') cfg end -- cgit v1.2.1 From 01b0f992d2e7e1f4dbe9c390be1f369bc03b5d5a Mon Sep 17 00:00:00 2001 From: Mike Bryant Date: Thu, 3 Mar 2016 12:35:22 +0000 Subject: TMOS: Strip out the irule-down state --- lib/oxidized/model/tmos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1