diff options
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/ciscosmb.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb index 47e8391..3ef9a85 100644 --- a/lib/oxidized/model/ciscosmb.rb +++ b/lib/oxidized/model/ciscosmb.rb @@ -33,9 +33,12 @@ class CiscoSMB < Oxidized::Model cfg end - cfg :telnet, :ssh do + cfg :telnet do username /^User Name:/ password /^\r?Password:$/ + end + + cfg :telnet, :ssh do post_login 'terminal datadump' # Disable pager post_login 'terminal width 0' pre_logout 'exit' |