Telnet poller fails with long command

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unsupported version
    • Priority: Trivial
    • None
    • Affects Version/s: 2.0.7
    • Component/s: Server (S)

      Telnet poller fails with long command, over about 50 character depending agent hostname.
      e.g. /usr/bin/expr `sar -r 1 1 | /usr/bin/tail -1 | /usr/bin/awk '

      {print $2}

      '` * `/usr/bin/pagesize`

      Because Telnet poller assumes the virtual screen size 80x25 characters. But with long command the number of characters in a line is over and Telnet poller does not bechave well.
      So, attached patches expand the virtual screen size to 1280x120. In many case, it works well.

            Assignee:
            Unassigned
            Reporter:
            MATSUDA Daiki
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: