[ZBX-7051] saving a host performs an update of applications, items, and triggers Created: 2013 Sep 26 Updated: 2017 May 30 Resolved: 2013 Oct 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.1.6 |
Fix Version/s: | 2.1.7, 2.2.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | hosts, update | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Suppose we open a host and simple press "Save" without doing any changes. The frontend seems to update all applications, items, and triggers on that host, at least those linked to templates. One of the practical problems with that (discovered further by Sasha) is if we override an update interval on an item that comes from a template, then saving a host would reinstantiate the template's update interval for that item. |
Comments |
Comment by Alexander Vladishev [ 2013 Sep 26 ] |
Regression, broken by: ------------------------------------------------------------------------ r38270 | sasha | 2013-09-02 16:24:44 +0300 (Mon, 02 Sep 2013) | 2 lines A.F.I..PS. [ZBXNEXT-1633] implemented host prototypes .......PS. [ZBXNEXT-1633] implemented monitoring of vCenter and vSphere |
Comment by Vitalij Romanovskij (Inactive) [ 2013 Sep 27 ] |
fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-7051 |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 30 ] |
(1) Please update the PHP doc of CHostBase::link(). vitalij_zab FIXED in r38865 jelisejev I've added more details to the comment in r38882. Please review. vitalij_zab REVIEWED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 30 ] |
(2) The $key variable in the foreach loops in CHostGeneral::link() is not used. vitalij_zab FIXED in r38865 jelisejev CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 01 ] |
(3) CHostPrototype::link() must return the same value as the base method. vitalij_zab FIXED in r38888 jelisejev CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 02 ] |
TESTED. Please close (1) before merging. |
Comment by Vitalij Romanovskij (Inactive) [ 2013 Oct 02 ] |
fixed in pre-2.1.7 (trunk) r38944 |