[ZBX-5751] CDiscoveryRule get() not working with parameter 'selectGraphs' Created: 2012 Oct 26 Updated: 2017 May 30 Resolved: 2012 Nov 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.0.4rc1, 2.1.0 |
Fix Version/s: | 2.0.4rc1, 2.1.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Toms (Inactive) | Assignee: | Oleg Egorov (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | api, discovery | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
have discovery rule (id: 23279) and graph prototypes in it. Api call: , returns without graphs: ], |
Comments |
Comment by Toms (Inactive) [ 2012 Oct 26 ] |
CItemPrototype get() also does not return graphs: {"jsonrpc":"2.0","method":"itemprototype.get","params": {"itemids":[23282],"selectGraphs":"refer"},"id":67,"auth":"6bd880b1f963683fd908af4764bef817"} oleg.egorov RESOLVED |
Comment by Oleg Egorov (Inactive) [ 2012 Oct 29 ] |
FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-5751 r31136 |
Comment by Toms (Inactive) [ 2012 Oct 30 ] |
As there might be serious conflicts, this should be re-fixed after oleg.egorov RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-5751 r31150 |
Comment by Toms (Inactive) [ 2012 Oct 31 ] |
(1) try the same call with "extend" instead of "refer", this should revile that there is unnecessary loop. oleg.egorov RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-5751 r31180 No need to write full svn, revision number is sufficient if svn is not changed. "limitSelects" applies to each discovery rule separately oleg.egorov RESOLVED IN r31202 tomtom returns graphs only for first item: ], ], oleg.egorov RESOLVED IN r31221 tomtom CLOSED |
Comment by Oleg Egorov (Inactive) [ 2012 Nov 01 ] |
Fixed trigger "limitSelects" in itemprototype.get |
Comment by Toms (Inactive) [ 2012 Nov 05 ] |
TESTED |
Comment by Oleg Egorov (Inactive) [ 2012 Nov 05 ] |
FIXED IN 2.0.4rc1 r31263 and 2.1.0 r31264 |