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

EVENT.NAME does not contain recovery event name in recovery alerts

XMLWordPrintable

    • Team A
    • Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
    • 0.25

      Steps to reproduce:

      1. Create a text item that can become "GOOD" or "BAD"
      2. Create a trigger named "Test trigger {ITEM.VALUE}" that triggers on str(BAD)=1
      3. Create an action that alerts for this trigger
        1. Operations subject: "Problem: {EVENT.NAME}"
        2. Recovery subject: "Recovery: {EVENT.NAME}"

      Result:

      The problem event has the name: "Test trigger BAD"

      The problem alert has the subject: "Problem: Test trigger BAD"

      The recovery event has the name: "Test trigger GOOD"

      The recovery alert has the subject: "Recovery: Test trigger BAD"

      Expected:

      That the recovery alert uses the recovery event name.

      Additional:

      As far as i know you are only able to see the recovery event name in the database?

      Documentation for {EVENT.NAME} has the discritption "Name of the problem/recovery event that triggered an action." which indeed leads me to believe that it should contain the recovery event name in a recovery alert.

      Changing the {EVENT.NAME} in a recovery alert might not be a feasible solution. Maybe the best solution is to update the docs and make it clear that it will not contain the recovery event name and create a new macro called {EVENT.RECOVERY.NAME}?

            ak Andrejs Kozlovs
            pmbraat Paal Braathen
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: