"Recovery message" is sent though not matching the condition of the action

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 2.2.17, 3.0.8, 3.0.22, 4.0.0
    • Component/s: Documentation (D)
    • None
    • Sprint 33, Sprint 34
    • 0

      "Recovery message" is sent with PROBLEM event after removing the certain condition of the action.

      How to reproduce :

      Preparation:
      1.Create a host.
      2.Create a host group.
      3.Add the host to the grop.
      4.Create an item in the host.
      5.Create a trigger for the item with using "Multiple PROBLEM events generation" option.
      6.Create an action with including the trigger and the group to the condition and using "Recovery message" option.
      To find out the problem add EVENT.RECOVERY.ID macros to the "Recovery message" field.

      Procedure:
      1.Make a PROBLEM event.
      2.Remove the host from the grop.
      3.Make a PROBLEM event.
      4.Confirm a Recovery message is sent.

      The problem occurs because escalator execute escalation
      without checking the condition of the action when execute escalations.

      I have found out this problem on version 2.2.7 and 3.0.7 .
      And I made an patch for fixing this problem for 2.2.7.
      Please see the attached patch.

            Assignee:
            Zabbix Development Team
            Reporter:
            Kotaro Miyashita
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: