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

{ITEM.LOG...} Macros are being incorrectly resolved

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 4.0.25rc1, 5.0.4rc1, 5.2.0alpha3
    • Server (S)

      Steps to reproduce: (for master)

      1. Import attached xml
      2. Configure Action and Media type settings in order to get emails about new Problems.
      3. Add macro to Media Type email Message template: LOG AGE: {ITEM.LOG.AGE1}.
      4. In /tmp folder create file log.txt.
      5. Run Zabbix server.
      6. Add some new lines with "text" to /tmp/log.txt
      7. Get Email about new Zabbix problem
      8. Discover that {ITEM.LOG.AGE1} is resolved to inadequate value like: 18514d 13h 53m 19s

        1. Selection_660.png
          10 kB
          Larisa Grigorjeva
        2. zbx_export_hosts.xml
          7 kB
          Larisa Grigorjeva

            adancis Arturs Dancis
            lgrigorjeva Larisa Grigorjeva
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: