summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/tmos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/tmos.rb')
-rw-r--r--lib/oxidized/model/tmos.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index b2b1ea2..9f8183f 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -22,19 +22,19 @@ class TMOS < Oxidized::Model
cmd('cat /config/bigip.license') { |cfg| comment cfg }
- cmd 'tmsh list' do |cfg|
+ cmd 'tmsh -q list' do |cfg|
cfg.gsub!(/state (up|down)/, '')
cfg.gsub!(/errors (\d+)/, '')
cfg
end
- cmd('tmsh list net route all') { |cfg| comment cfg }
+ cmd('tmsh -q list net route all') { |cfg| comment cfg }
cmd('/bin/ls --full-time --color=never /config/ssl/ssl.crt') { |cfg| comment cfg }
cmd('/bin/ls --full-time --color=never /config/ssl/ssl.key') { |cfg| comment cfg }
- cmd 'tmsh show running-config sys db all-properties' do |cfg|
+ cmd 'tmsh -q show running-config sys db all-properties' do |cfg|
cfg.gsub!(/sys db configsync.localconfigtime {[^}]+}/m, '')
cfg.gsub!(/sys db gtm.configtime {[^}]+}/m, '')
cfg.gsub!(/sys db ltm.configtime {[^}]+}/m, '')