lib/oxidized/model/tmos.rb in oxidized-0.28.0 vs lib/oxidized/model/tmos.rb in oxidized-0.29.0

- old
+ new

@@ -16,10 +16,11 @@ cmd('tmsh -q show sys software') { |cfg| comment cfg } cmd 'tmsh -q show sys hardware field-fmt' do |cfg| cfg.gsub!(/fan-speed (\S+)/, '') cfg.gsub!(/temperature (\S+)/, '') + cfg.gsub!(/humidity (\S+)/, '') comment cfg end cmd('cat /config/bigip.license') { |cfg| comment cfg } @@ -45,10 +46,10 @@ comment cfg end cmd('[ -d "/config/zebos" ] && cat /config/zebos/*/ZebOS.conf') { |cfg| comment cfg } - cmd('cat /config/partitions/*/bigip.conf') { |cfg| comment cfg } + cmd('cat /config/partitions/*/bigip*.conf') { |cfg| comment cfg } cfg :ssh do exec true # don't run shell, run each command in exec channel end end