diff options
author | Colin Stubbs <colin.stubbs@equatetechnologies.com.au> | 2016-04-08 20:35:21 +1000 |
---|---|---|
committer | Colin Stubbs <colin.stubbs@equatetechnologies.com.au> | 2016-04-08 20:35:21 +1000 |
commit | 4961d47d70231de74b2a94b52b8435e612213f5b (patch) | |
tree | dbefc9a4b05ea94f8387e17e958af84d452eee30 /lib/oxidized/model/tmos.rb | |
parent | b4477cb07c5b90a734f87a0bdb279bbb14967104 (diff) |
Fix for issue 359
Diffstat (limited to 'lib/oxidized/model/tmos.rb')
-rw-r--r-- | lib/oxidized/model/tmos.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb index abaec9f..3570015 100644 --- a/lib/oxidized/model/tmos.rb +++ b/lib/oxidized/model/tmos.rb @@ -10,11 +10,11 @@ class TMOS < Oxidized::Model cfg end - cmd('tmsh show sys version') { |cfg| comment cfg } + cmd('tmsh -q show sys version') { |cfg| comment cfg } - cmd('tmsh show sys software') { |cfg| comment cfg } + cmd('tmsh -q show sys software') { |cfg| comment cfg } - cmd 'tmsh show sys hardware field-fmt' do |cfg| + cmd 'tmsh -q show sys hardware field-fmt' do |cfg| cfg.gsub!(/fan-speed (\S+)/, '') cfg.gsub!(/temperature (\S+)/, '') comment cfg |