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

Telnet poller fails with long command

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.0.7
    • 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.

            wiper Andris Zeila
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: