Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18512

ssh.run does not work well with some devices

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce:

      1. Create a Cisco switch as host
      2. Create an item, type SSH agent, executed script: show run

      Result:

      • Cannot read data from SSH server

      Expected:
      Output of show run

       

      What is the problem?

      The switch prints some amount of characters. Then it stops, showing the text "more", and waiting for the user to press any key.

       

      Possible workaround does not work

      • A possible workaround would be using two lines: 
      • term len 0
      • show run

      but this does not work. The error is

      Line has invalid autocommand "term len 0
      show run"

      term len 0\nshow run or term len 0\nshow run does not work either.

      Attachments

        Activity

          People

            aigars.kadikis Aigars Kadikis
            bartheerman Bart Heerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: