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

ITEM.NAME macro not displayed correctly in action email

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.6, 1.9.0 (alpha)
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      Ubuntu Server 8.04.1
      kernel 2.6.24-21 - i686
      gcc version 4.2.4

      Description

      ITEM.NAME macro works fine for non web monitoring alerts, but when an alert is sent in response to a web monitoring trigger, the ITEM.Name is displayed in the email as below:

      "Failed step of scenario '$1'"

      rather than the expected:

      "Failed step of scenario '<scenario description>'"

      I also noticed that creating the web scenario creates Items with descriptions that look correct on the "CONFIGURATION OF ITEMS" page, but when I click any of the items the description reads exactly as above. I have tried cloning the item and giving it a different description, but when I click clone, I get the following errors:

      "

      • Undefined index: itemid[/home/zabbix/zabbix-1.6.1/frontends/php/include/forms.inc.php:1759]
      • DBcondition Error: [ia.itemid] =
        "

      I am eager to test patches for this if needed

        Attachments

          Activity

            People

            • Assignee:
              sasha Alexander Vladishev
              Reporter:
              jpriceit jpriceit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: