Macro in HTTP LLD discovery is not used

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Fixed
    • Priority: Trivial
    • 5.4 (plan)
    • Affects Version/s: None
    • Component/s: Documentation (D)
    • None
    • 0.2

      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?

       

            Assignee:
            Marina Generalova
            Reporter:
            Bart Heerman
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: