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

API event.get returns empty result when using groupids in 3.2.7 and 3.4.0

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.7, 3.4.0
    • Fix Version/s: 3.2.9rc1, 3.4.3rc1, 4.0.0alpha1
    • Component/s: API (A)
    • Labels:
    • Environment:
      Ubuntu 14.04.5, mysql 5.5.57
    • Team:
      Team B
    • Sprint:
      Sprint 16, Sprint 17
    • Story Points:
      0.5

      Description

      API event.get calls using "groupids" or "hostids" parameters will always return empty result on 3.2.7 and 3.4.0.

      The same call works fine on 3.2.6.

      I wonder if it is related to changes made on ZBX-12023.

      Here is an example of problematic request:

      REQUEST:
      {"jsonrpc": "2.0","method": "event.get","params":

      {"groupids":"10","output":"extend","time_from":"1497916800","time_till":"1503600498"}

      ,"id": 1,"auth": "token"
      }

      RESPONSE:

      {"jsonrpc": "2.0","result": [],"id": 1}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pqespindola Pedro Queiroz Espindola
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: