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

Macros {{HOSTNAME}:{TRIGGER.KEY}.last(0)} truncate long strings (255 symbols)

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.8.3
    • 1.8.4
    • None
    • None
    • RHEL4, Zabbix 1.8.3, HP DL380G4

    Description

      Macros {{HOSTNAME}:

      {TRIGGER.KEY}.last(0)} truncate long strings

      I create UserParameter with long string (1000 symbol)
      /etc/zabbix/zabbix_agentd.conf
      UserParameter=string,/usr/bin/perl -we 'print "0123456789" x 100;'


      I create Action with macros {{HOSTNAME}:{TRIGGER.KEY}

      .last(0)}

      The line is cut off up to 255 symbols
      Subj: Zabbix Monitoring xxxxxx[127.0.0.1] test only strings: PROBLEM
      Date: Thu, 14 Oct 2010 15:42:44 +0400
      From: <[email protected]>
      To: <[email protected]>

      Group: Linux servers; xxxxxxxxx
      [127.0.0.1] test only strings: PROBLEM
      test only
      Latest value
      012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dima_dm Dmitry Maksimov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: