summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ciscosmb.rb
AgeCommit message (Collapse)Author
2016-01-25SSH does not prompt for username/passwordSaku Ytti
Some devices, like Cisco WLC do not authenticate using SSH (ssh is noauth) and actually prompt for auth via shell. CiscoSMB is not one of those kits. We probably should do sepearate bug for the error messages this caused. ``` begin @username ? shell_login : expect(@node.prompt) rescue Timeout::Error raise PromptUndetect, [ @output, 'not matching configured prompt', @node.prompt ].join(' ') end ``` Here Timeout:Error is not raised by ```expect(@node-prompt)``` it is raised by ```shell-login```, which is triggered due to @username prompt set. Potential fixes 1. change the error to more generic one, covering both cases 2. add rescue in 'def shell_login' for Timeout::Error and report it there
2015-05-24Remove 'show inventory' from Cisco SMB model, since they do not recognize ↵Mike Rostermund
the command
2014-08-18Add model for Cisco small business switchesMatthew Boehlig
Supports 200, 300, 500, and ESW2 series switches