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

    • Documentation task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.4 (plan)
    • Documentation (D)
    • None
    • Team D
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: