Ad Widget

Collapse

How to use multiple macros in web scenario URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • laocius
    Junior Member
    • Jul 2018
    • 4

    #1

    How to use multiple macros in web scenario URL

    I am using web scenario to monitor my websites.
    I created a step with a url https://{HOST.DNS}, and it worked fine.

    But I also have lots of websites with non standard port, so I changed my web scenario with
    URL: https://{HOST.DNS}:{HOST.PORT}, but it didn't work.

    I saw in zabbix log that only the first macro {HOST.DNS} was resoved.
    Last edited by laocius; 01-05-2019, 08:41. Reason: macro, proxy, zabbix
  • brunohl
    Senior Member
    Zabbix Certified Specialist
    • Mar 2019
    • 215

    #2
    According to official docs:


    HOST.PORT is not supported in Web Scenarios whereas HOST.DNS is if you take a look.

    Comment

    Working...