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

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: