-
Documentation task
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Team D
-
0.2
Steps to reproduce:
- Create a template
- Create a discovery rule
- Use type HTTP agent, in the URL use {HOST.IP1}, for example https://\{HOST.IP1}/api
- Assign this template to a host
- 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?