From 62d49bc7c700bc08866187e14271770a6ac6932f Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Sun, 24 May 2015 23:53:40 +0200 Subject: Remove 'show inventory' from Cisco SMB model, since they do not recognize the command --- lib/oxidized/model/ciscosmb.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb index 718c60e..47e8391 100644 --- a/lib/oxidized/model/ciscosmb.rb +++ b/lib/oxidized/model/ciscosmb.rb @@ -23,10 +23,6 @@ class CiscoSMB < Oxidized::Model comment cfg end - cmd 'show inventory' do |cfg| - comment cfg - end - cmd 'show running-config' do |cfg| cfg = cfg.each_line.to_a[0..-1].join cfg.gsub! /^Current configuration : [^\n]*\n/, '' -- cgit v1.2.1