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

Macro in HTTP LLD discovery is not used

    XMLWordPrintable

    Details

    • Type: Documentation task
    • Status: Done
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation (D)
    • Labels:
      None
    • Team:
      Team D
    • Story Points:
      0.2

      Description

      Steps to reproduce:

      1. Create a template
      2. Create a discovery rule
      3. Use type HTTP agent, in the URL use {HOST.IP1}, for example https://\{HOST.IP1}/api
      4. Assign this template to a host
      5. Execute the discovery rule

       

      Result:

      Discovery fails with message "cannot resolve {HOST.IP1}"

      Expected:

      No error.

      Workaround is to use a macro in the host with value the IP address. But this implies entering the IP address twice (in the host, and in the macro). It also implies that network discovery cannot be used, because it is not possible to create a host macro during this process.

      I would expect that the IP address of a host can be used in the discovery rule for that host?

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mgeneralova Marina Generalova
              Reporter:
              bartheerman Bart Heerman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: