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

Trigger for a simple check doesnt allow Macros

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10
    • Fix Version/s: 1.8.16rc1, 2.0.0
    • Component/s: Frontend (F)
    • Environment:
      Ubuntu 11.04, Zabbix 1.8.10 Server with Postgresql and PHP Frontend

      Description

      Steps to reproduce the issue:

      Add Template 'TEST' with Macro {$TESTPORT} and assign it value of 80
      Add Item with Key 'tcp,{$TESTPORT}' and Save
      This works
      But now when I add a trigger for this Item, like '{Test:tcp,{$TESTPORT}.last(0)}=0' and press Save the following error comes up:

      Incorrect item key "tcp,{$TESTPORT" is used in expression. Incorrect simple check parameter.
      Check expression part starting from " {Test:tcp,{$TESTPORT}.last(0)}=0 "

        Attachments

        1. zabbix.jpg
          52 kB
          Niels te Grotenhuis

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              grote002 Niels te Grotenhuis
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: