[ZBXNEXT-1029] Add ability to display more than "Last 20 issues" in dashboard Created: 2011 Nov 15  Updated: 2017 Jul 19  Resolved: 2017 Jul 19

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 1.8.8
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Johan Fischer Assignee: Unassigned
Resolution: Duplicate Votes: 12
Labels: dashboard, patch, unsquashable, widget
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ZBXNEXT-1029-2.0.9.patch     PNG File ZBXNEXT-1029-2.0.9.png     File ZBXNEXT-1029-popup-2.2.4.patch     PNG File ZBXNEXT-1029-popup-2.2.4.png     File ZBXNEXT-1029_Add_last_issue_count_per_user-2.2.1.patch     File ZBXNEXT-1029_Add_last_issue_count_per_user-2.4.2.patch    
Issue Links:
Duplicate
duplicates ZBXNEXT-3921 Rename screens to Dashboard: Create '... Closed

 Description   

With the new dashboard filters, it would be great if we could, for some users or in some cases, increase the number of issues displayed in the "Last 20 issues" block.

It seems that support for a limit is already in the function and we only have to pass that limit. If I add the following line in the file dashboard.php at line 68:
$dashconf['limit'] = 100;

Then I get the desired result (although it's global for all users and hardcoded).



 Comments   
Comment by Johan Fischer [ 2011 Nov 15 ]

this is partially related to ZBX-3290 (same topic).

Comment by richlv [ 2011 Nov 15 ]

trunk has a new define "DEFAULT_LATEST_ISSUES_CNT", which changes this for all users. leaving this open as it asks for a per-user setting

Comment by Marc [ 2013 Oct 24 ]

Attached patch:
ZBXNEXT-1029-2.0.9.patch

adds the possibility to set number of last issues in dashboard configuration/filter.

Comment by Corey Shaw [ 2013 Dec 10 ]

Attached a port to Zabbix 2.2.1

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 31 ]

I don't think that this parameter should be set in the dashboard configuration filter, since as opposed to other dashboard filters, it will affect only one widget. It would be better if the user, for example, would be able to set this parameter using the widget's pop up menu. The same way as with widget refresh time.

Comment by Marc [ 2014 Aug 02 ]

jelisejev, how about this?

A new limit/count gets considered not before next (widget) refresh though.

Comment by Corey Shaw [ 2014 Nov 11 ]

I have ported the original version of this patch to 2.4.2. I understand what Pavels mentioned earlier about this perhaps not belonging in the filter config, I much prefer it.

Putting this configuration in the widget configuration doesn't allow for custom values for the issues to show. I'm not a fan of only being given specific allowed values when there isn't really any reason to prevent a user from deciding how many they want to see.

Comment by Ionut Biru [ 2016 Jun 03 ]

Any luck to port this patch for zabbix 3.0?

Comment by Volker Fröhlich [ 2016 Jun 03 ]

Ionut, which of the two would you prefer?

Comment by Ionut Biru [ 2016 Jun 05 ]

Volker, I used in the past ZBXNEXT-1029_Add_last_issue_count_per_user-2.4.2.patch.
But whatever variant is more easy to implement, I'll take it.

Comment by Anton Samets [ 2016 Sep 01 ]

Hello. Does somebody tries to create this patch for 3.0 version? Thank you!

Comment by Janne Korkkula [ 2016 Nov 15 ]

Related: ZBXNEXT-3553 - move severity filtering away from the dashboard filter settings, to individual widget configuration via their popup menus.

Comment by Alexander Vladishev [ 2017 Jul 19 ]

Already implemented in ZBXNEXT-3921.

Generated at Sat Apr 20 01:38:37 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.