[ZBX-12681] API event.get returns empty result when using groupids in 3.2.7 and 3.4.0 Created: 2017 Sep 05  Updated: 2024 Apr 10  Resolved: 2018 Feb 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.2.7, 3.4.0
Fix Version/s: 3.2.9rc1, 3.4.3rc1, 4.0.0alpha1

Type: Problem report Priority: Trivial
Reporter: Pedro Queiroz Espindola Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: event.get, sql
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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}

 Comments   
Comment by Alexander Vladishev [ 2017 Sep 13 ]

Fixed in dev branch: svn://svn.zabbix.com/branches/dev/ZBX-12681

Comment by Alexander Vladishev [ 2017 Sep 13 ]

(1) [F] No translation strings changed

Miks.Kronkalns CLOSED

Comment by Alexander Vladishev [ 2017 Sep 25 ]

Fixed in:

  • 3.2.9rc1 r72912
  • 3.4.3rc1 r72913
  • 4.0.0alpha1 (trunk) r72914
Comment by Ivo Kurzemnieks [ 2018 Feb 07 ]

(2) [D] This fix is not mentioned in 3.2 and 3.4 API changes.

sasha WON'T FIX

Generated at Thu Apr 25 23:59:30 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.