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

"trigger exprission macro" with nested {HOST.NAME} macro is not expaded fully in actions

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.0.1
    • Server (S)

      Macros in an action:
      HOST.NAME: {{HOST.NAME}:test.item.last(0)}
      HOST.HOST: {{HOST.HOST}:test.item.last(0)}

      in an alert will be expanded to:
      HOST.NAME:

      {it0:test.item.last(0)}

      HOST.HOST: 21

      Note that with the

      {HOST.HOST} it works correctly, but with the {HOST.NAME} - it doesn't expanded fully.

      Of course the macro {HOST.NAME} is new for version 2.0 but it must work identically to the {HOST.HOST}

      (a replacement for

      {HOSTNAME}

      )

      http://www.zabbix.com/documentation/2.0/manual/appendix/macros/supported_by_location

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: