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

API event.acknowledge don't validate required suppress_until parameter

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.13
    • API (A)
    • None

      Steps to reproduce:

      1. API Request on event.acknowledge for an active problem event
      {
          "eventids": [6811411],
          "action": 36,
          "message": 'Supressed by script',
          "suppress_until": 1713038132
      ) 

      Result:

      **

       

      The shown "suppression" is missing in event_suppress database table. I don't know where the UI got this broken information.

       

      Expected:
      Documentation (https://www.zabbix.com/documentation/6.4/en/manual/api/reference/event/acknowledge) says parameter suppress_until is required if action contains suppressions. So I would expect that the api request fails if the parameter is missing.

      But I think there is also a GUI bug. It shouldn't show a inconsistent suppression.

            mkudlacz Michal Kudlacz
            marcel.japel Marcel Jäpel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: