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

{HOST.DNS} macro is not resolved in trigger tag name and value

XMLWordPrintable

    • S24-W24/25
    • 0.25

      Create trapper item and trigger with expression: last(/Zabbix server/X)=1
      and name:

      T_HOST_CONN_{HOST.CONN}_HOST_DNS_{HOST.DNS}_HOST_HOST_{HOST.HOST}_HOST_IP_{HOST.IP}_HOST_NAME_{HOST.NAME}_HOST_PORT_{HOST.PORT}
      

      and tags with values:

      HOST_CONN_{HOST.CONN} -> {HOST.CONN}
      HOST_DNS_{HOST.DNS} -> {HOST.DNS}
      HOST_HOST_{HOST.HOST} -> {HOST.HOST}
      HOST_IP_{HOST.IP} -> {HOST.IP}
      HOST_NAME_{HOST.NAME} -> {HOST.NAME}
      HOST_PORT_{HOST.PORT} -> HOST_PORT_{HOST.PORT}
      

      send 1 to trapper, result:

      {HOST.DNS} macro in tags was not resolved.
      All other tags were resolved.
      In trigger name it was resolved to nothing.

      According to 7.0 documentation
      {HOST.DNS}

      is supported for:
      1) Trigger names and
      2) Tag names and values

            vso Vladislavs Sokurenko
            arimdjonoks Artjoms Rimdjonoks
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: