[ZBX-5639] Availability report ignores global option "Dropdown first entry" Created: 2012 Oct 01 Updated: 2017 May 30 Resolved: 2012 Nov 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.15, 2.0.3rc1 |
Fix Version/s: | 2.0.4, 2.1.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Oleg Egorov (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | availability, reports | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Even if we select "None" for "Dropdown first entry" global option, on the Availability report "Host group" and "Host" will have "not selected" but actually report works as for "All" I.e. we see statistic of all hosts from all groups and it's critical problem on big installations. Reproduced for latest 1.8 and 2.0. |
Comments |
Comment by Oleg Egorov (Inactive) [ 2012 Oct 26 ] |
RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-5639 r31105 |
Comment by Toms (Inactive) [ 2012 Oct 29 ] |
(1) Mode: By trigger template oleg.egorov RESOLVED tomtom this problem still exists choose template group, then template, then host, now change template. You will see empty list, but host selection is to "all". If you chose some host and then again "all" you will see triggers. oleg.egorov I can't reproduce this issue now, if this problem exist, please say me oleg.egorov RESOLVED tomtom Revision number missing! as well there is undefined index: oleg.egorov RESOLVED IN r31322 + minor minor code refactoring in r31323 tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Oct 29 ] |
(2) } Should be written as: if (b || !a) { do(); } oleg.egorov RESOLVED tomtom Changes regarding those "ifs" changed logic and still wasn't optimal. See r31155, if OK close this sub-issue. oleg.egorov CLOSED oleg.egorov After changes in r31155, select in form "By trigger template" works incorrect oleg.egorov Fixed in r31204 tomtom CLOSED. This worked incorrect as well in code from which I made changes |
Comment by Toms (Inactive) [ 2012 Oct 29 ] |
(3) oleg.egorov RESOLVED tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Oct 29 ] |
(4) select_config() should be called right before usage of its returned data. oleg.egorov RESOLVED tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Oct 29 ] |
(5) as an addition to this issue it would be nice to fix that selected values would be remembered in filter if "remember selected" is selected in configuration. oleg.egorov In form "By trigger template" not need remember "Template trigger" and "Filter by host group" - Pavel decision RESOLVED in r31144 Mode is not remembered now. Group and template/host is only remembered if button "filter" is clicked. Group and template/host is remembered if checkbox "Remember selected" in Configuration is checked. oleg.egorov RESOLVED tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Oct 31 ] |
(6) $_REQUEST['config'] as well should be renamed according to its logic. oleg.egorov RESOLVED tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Oct 31 ] |
(7) if (!isset($_REQUEST['config'])) { $_REQUEST['config'] = 0; }instead of 0, constant AVAILABILITY_REPORT_BY_HOST should be used oleg.egorov RESOLVED tomtom CLOSED |
Comment by Oleg Egorov (Inactive) [ 2012 Nov 06 ] |
I found problem in 2.0.4, don't work "Filter by host group" oleg.egorov RESOLVED r31297 tomtom CLOSED |
Comment by Toms (Inactive) [ 2012 Nov 15 ] |
TESTED Review my changes in r31462, if OK merge. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2012 Nov 15 ] |
RESOLVED IN 2.0.4 r31471, 2.1.0 r31472 |