[ZBXNEXT-1036] Groups filtering in "Triggers top 100" report Created: 2011 Nov 20  Updated: 2015 Jul 24  Resolved: 2014 Dec 11

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 1.8.9, 1.9.8 (beta)
Fix Version/s: 2.5.0

Type: New Feature Request Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: reports
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File top100_filter_layout.png     PNG File top_100_triggers.png    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-143 severity filtering for "most busy tri... Closed
is duplicated by ZBXNEXT-1751 Running reports to gather specific data. Closed

 Description   

Example in attachment



 Comments   
Comment by richlv [ 2011 Nov 21 ]

minimum severity would be a duplicate of ZBXNEXT-992 - let's leave this one for filtering by group

Comment by Alexander Vladishev [ 2014 Nov 11 ]

Specification: https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-1036

Comment by Oleg Egorov (Inactive) [ 2014 Nov 14 ]

IMPLEMENTED IN svn://svn.zabbix.com/branches/dev/ZBXNEXT-1036 r50610

Comment by Oleg Egorov (Inactive) [ 2014 Nov 14 ]

(1) String changes

New strings:

  • Yesterday
  • Current week
  • Current month
  • Current year
  • Last week
  • Last month
  • Last year

iivs CLOSED.

<richlv> looks like string 'Week' might have been removed - could you please check ? REOPENED

oleg.egorov Confirmed.

Removed strings:

  • Week

RESOLVED

iivs CLOSED.

Comment by richlv [ 2014 Nov 24 ]

(2)

  • even though there is enough horizontal space, group selector does not seem to scale very well when many groups are selected (to mimic the previous behaviour)
  • notice how date filter got split up. this would happen also if a smaller amount of groups (let's say 6) would be selected. the same would happen with the host filter, too

oleg.egorov
2.1 After discussion with richlv, CLOSED. Will be not fixed.
2.2 RESOLVED IN r50870

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 24 ]

(3) Date and time set in filter is not remembered when coming back from different page

oleg.egorov Waiting for answer from sasha

oleg.egorov Issue confirmed

RESOLVED IN r50870

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(4) Function daysInMonth() duplicates in class.calendar.js. Let's move it somewhere else.
Also, please, give function descriptions in reports.toptriggers.js.php

oleg.egorov RESOLVED IN r50845, r50847

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(5) I didn't see that documentation mentions changing page title and subtitle. Let's change it back.

oleg.egorov RESOLVED IN r50845

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(6) Redundant code:

  1. chkbxRange.clearSelectedOnFilterChange();
    

    There are no checkboxes to clear after filtering and resetting.

  2. $filterTable->setCellPadding(0);
    $filterTable->setCellSpacing(0);
    

    has no effect due to .filter class is css

oleg.egorov RESOLVED IN r50845

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(7) tests/selenium/testGeneric.php will no longer work, there is no report5.php

oleg.egorov RESOLVED IN r50845

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(8) Tag creation and helper functions should be moved from controller to view

oleg.egorov RESOLVED IN r50845

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 25 ]

(9) Coding style and refactoring:
1.

require_once dirname(__FILE__).'/js/reports.toptriggers.js.php';

should be on top

  • reports.toptriggers.php: 20 requries one more space
  • reports.toptriggers.php: 21 missing space before =
  • reports.toptriggers.php: 26 space should be after comma and no space before 'zbx_filter'

2. setAttribute('style', ... _ can be replaced with _addStyle(' ...

3. $filterHosts as $host can be renamded to $filterHosts as $filterHost or $hosts as $host, since $hosts will be overwritten later. Same for groups.

4. Make some refactoring for API calls so that 'output' goes as first option

5. Update to trunk and make sure buttons still work, filter buttons have jquery classes and shadows, 'buttonClass' is removed, {[useJQueryStyle('main')}} is removed and CButton links have proper classes.

oleg.egorov RESOLVED IN r50845, r50847, r50850, r50876.
Redesigned period links in r50853
Removed quickTimeInput ID r50872
Fixed daysInMonth function request from calendar r50879

iivs CLOSED.

Comment by Ivo Kurzemnieks [ 2014 Nov 26 ]

TESTED.

Comment by Oleg Egorov (Inactive) [ 2014 Nov 26 ]

Implemented in trunk r50886

Comment by Martins Valkovskis [ 2014 Nov 27 ]

(10) Documented in:

RESOLVED.

oleg.egorov Thanks, CLOSED

Comment by Alexei Vladishev [ 2014 Dec 02 ]

(11) Let's redesign it and remove the extra CSS we added to main.css.

oleg.egorov As was been discussed, resolved in r50986

iivs Design looks good to me. Better than previous version. I improved CSS and coding style in r51074. Please, review.

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2014 Dec 09 ]

FIXED IN 2.5.0(trunk) r51084
CLOSED

Comment by Martins Valkovskis [ 2014 Dec 09 ]

(12) Screenshots updated at:

RESOLVED.

oleg.egorov Thanks. CLOSED

Generated at Sat Apr 20 06:43:13 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.