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

item prototype with type "HTTP agent": key not support macros values

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Workaround proposed
    • Icon: Major Major
    • None
    • 4.0.7
    • Frontend (F)
    • None
    • red hat 7

      Steps to reproduce:

      1. Create a template for monitoring web services on multiple servers
      2. Create LLD with macros {#INTNAME} and {#URL}
      3. Create Item prototype with type HTTP Agent
      4. Type {#INTNAME} in Key 

      Result:

      Zabbix not save item prototype due to error:

      • Invalid key "{#INTNAME}" for item prototype "Service {#INTNAME}" on "Template Internal Services Availability": incorrect syntax near "{#INTNAME}".

      See screenshot 1

      Because of this, it is impossible to create a prototype item.

      If enter any value in the key without a macro, save the element prototype and apply the template to the server, an error appears when creating elements with a duplicate key.

      See screenshot 2

        1. zbx2.png
          zbx2.png
          91 kB
        2. zbx1.png
          zbx1.png
          47 kB

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            ssanechka Alexander Kashirin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: