summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorMike Rostermund <mike@kollegienet.dk>2015-05-24 23:53:40 +0200
committerMike Rostermund <mike@kollegienet.dk>2015-05-24 23:53:40 +0200
commit62d49bc7c700bc08866187e14271770a6ac6932f (patch)
tree066d33a1b7f5168c2af625198dee7b138ee5ddb8 /lib/oxidized
parentec5fbd640e69e7dcec757efb33f7421c27291020 (diff)
Remove 'show inventory' from Cisco SMB model, since they do not recognize the command
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/ciscosmb.rb4
1 files changed, 0 insertions, 4 deletions
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/, ''