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

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.16rc1, 2.0.0
    • 1.8.10
    • Frontend (F)
    • Ubuntu 11.04, Zabbix 1.8.10 Server with Postgresql and PHP Frontend

      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 "

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

              Created:
              Updated:
              Resolved: