[ZBXNEXT-410] Add more filters to the Events page Created: 2010 Jun 14 Updated: 2017 Jul 19 Resolved: 2017 Jul 19 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Vide | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 29 |
Labels: | events, filters, patch | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | 0001-ZBXNEXT-410-both-patches.patch ZBXNEXT-410_Add_more_filters_to_events-2.4.2.patch ZBXNEXT-410_Add_more_filters_to_events-2.4.7.patch event_filter_new.png zabbix-2.0.4-add_event_filter.patch zabbix-2.0.4-filter_events_by_trigger_description.patch zabbix-2.0.5-zbxnext410-total.patch zabbix-2.2.5-ZBXNEXT-410-2.patch zabbix-2.2.5-ZBXNEXT-410-Add-more-filters-to-the-Events-page.patch | ||||||||||||||||
Issue Links: |
|
Description |
It would be great to have the possibility to filter the Events based on:
It would be very useful when creating reports or checking operators behavior Thanks!. |
Comments |
Comment by richlv [ 2010 Jun 14 ] |
1. - available in 1.8.3 |
Comment by Volker Fröhlich [ 2012 Feb 15 ] |
Right now, you may only filter for a specific trigger on a specific host. It does not allow to filter on a trigger from a template. Filtering on trigger description might also be great, if not better. |
Comment by Takanori Suzuki [ 2012 Oct 12 ] |
Hi, I'm Takanori Suzuki working at Miracle Linux.
|
Comment by Takanori Suzuki [ 2012 Dec 26 ] |
Sorry, the previous post patch has problem in CSV output processing. |
Comment by Volker Fröhlich [ 2013 Feb 11 ] |
Thank you Takanori, your patch works fine for me. |
Comment by Volker Fröhlich [ 2013 Feb 11 ] |
zabbix-2.0.4-filter_events_by_trigger_description.patch allows to filter by trigger description, much like on the tr_status page. |
Comment by Volker Fröhlich [ 2013 Feb 12 ] |
Filtering with the two patches combined |
Comment by Andrey Shpak [ 2013 Feb 28 ] |
Tested on centos epel 205 distrib. Errors: --- events.php 2012-12-08 12:09:20.000000000 +0100 +++ events.php 2013-02-11 16:23:43.119990951 +0100 @@ -116,6 +117,7 @@ if (isset($_REQUEST['filter_rst'])) { $_REQUEST['triggerid'] = 0; $_REQUEST['showUnknown'] = 0; + $_REQUEST['txt_select'] = ''; } $source = get_request('triggerid') > 0 ? EVENT_SOURCE_TRIGGERS @@ -123,6 +125,7 @@ $_REQUEST['triggerid'] = get_request('triggerid', CProfile::get('web.events.filter.triggerid', 0)); $_REQUEST['showUnknown'] = get_request('showUnknown', CProfile::get('web.events.filter.showUnknown', 0)); +$_REQUEST['txt_select'] = get_request('txt_select', CProfile::get('web.events.filter.txt_select', '')); // Change triggerId filter if change hostId if (($_REQUEST['triggerid'] > 0) && isset($_REQUEST['hostid'])) { @@ -224,6 +227,7 @@ if (isset($_REQUEST['filter_set']) || isset($_REQUEST['filter_rst'])) { CProfile::update('web.events.filter.triggerid', $_REQUEST['triggerid'], PROFILE_TYPE_ID); CProfile::update('web.events.filter.showUnknown', $_REQUEST['showUnknown'], PROFILE_TYPE_INT); + CProfile::update('web.events.filter.txt_select', $_REQUEST['txt_select'], PROFILE_TYPE_STR); } // -------------- |
Comment by Volker Fröhlich [ 2013 Apr 09 ] |
There seems to be a flaw with the Duration column. The calculated durations are wrong if filtered by trigger status. |
Comment by Volker Fröhlich [ 2013 May 06 ] |
Cumulative patch including duration fix uploaded |
Comment by Volker Fröhlich [ 2013 Nov 14 ] |
Cumulative patch for 2.2.0; please don't let me port it to 2.4 as well! |
Comment by Michael Schwartzkopff [ 2014 May 07 ] |
Hi, I would like to see that feature: Filter events by severity. Michael. |
Comment by Erwin Vrolijk [ 2014 Jun 27 ] |
Please add this to the next 2.2 or 2.4 Filtering events by severity is very usefull, in particular if triggers with a 'not classified' severity are used to change colors of links on a map the event list gets cluttered. |
Comment by Volker Fröhlich [ 2014 Aug 28 ] |
Adapted patch to fit 2.2.5 |
Comment by Volker Fröhlich [ 2014 Nov 05 ] |
Paging doesn't work with the patches |
Comment by Volker Fröhlich [ 2014 Nov 06 ] |
zabbix-2.2.5- |
Comment by Corey Shaw [ 2014 Nov 11 ] |
Ported to 2.4.2. This port includes the paging bug fix that Volker fixed. |
Comment by Erik Skytthe [ 2015 Feb 07 ] |
Nice features! Today you cannot get an overview of only high events/triggers in an specific periode. It is difficult to report impact back to management, when bigger problems occurs. The ability to filter on status, gives a much better overview on events = only one line per event. |
Comment by peter erbst [ 2015 Feb 11 ] |
after applying the 2.4.2 patch, it's sort of working, but throws this error at the end of the page: Undefined index: searchWildcardsEnabled [events.php:740 → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CEvent->get() → zbx_db_search() in /var/www/html/include/db.inc.php:777] |
Comment by storex [ 2015 Dec 16 ] |
Ported to 2.4.7 |
Comment by Volker Fröhlich [ 2016 Sep 09 ] |
I think this can be closed as "Fixed in 3.2"! |
Comment by Alexander Vladishev [ 2017 Jul 19 ] |
Already implemented under |
Comment by Vide [ 2017 Jul 19 ] |
I'm glad it was finally implemented in |