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

event.get return events without triggers

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.2 (plan)
    • 2.2.6rc1
    • API (A)
    • Sprint 44, Sprint 45, Sprint 46, Nov 2018
    • 0

      After ZBX-8473 fix (Now frontend don't remove events)

      I remove trigger, but events still exist in DB (only housekeeper can remove it)

      Request:

      event.get
      {
          "output": "extend",
          "eventids": "1225"
      }
      

      Return:

      {
          "jsonrpc": "2.0",
          "result": [
              {
                  "eventid": "1225",
                  "source": "0",
                  "object": "0",
                  "objectid": "13674",
                  "clock": "1405928243",
                  "value": "0",
                  "acknowledged": "0",
                  "ns": "723263807"
              }
          ],
          "id": 2
      }
      

      So, we can execute selectTriggers, selectItems, selectHosts... for events, which don't have trigger..

      Same problem exist in history.

      This issue should be fixed only in trunk

            martins-v Martins Valkovskis
            oleg.egorov Oleg Egorov (Inactive)
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: