[ZBXNEXT-75] Add a "show all" option for viewing all graphs for a host on one page Created: 2008 Sep 29 Updated: 2020 Feb 12 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Minor |
Reporter: | Jasper Spit | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 85 |
Labels: | graphs, patch | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | ZBXNEXT-75.patch charts.php.1.8.10-2.diff charts.php.1.8.10-3.diff charts.php.1.8.10.diff charts.php.2.0.0-1.diff charts.php.2.0.0-2.diff zabbix_2_0_4_and_higher-flickerfreescreen.js.patch zabbix_2_0_4_and_higher-orderByGraphType.patch zabbix_2_0_4_and_higher.patch zbxNext75-2.2.5-MultiSelectFilter.patch zbxNext75-2.2.5-MultiSelectFilter.png zbxNext75-2.2.5.patch | ||||||||||||||||||||||||||||
Issue Links: |
|
Description |
When monitoring a graph for a specific host, a "Show all" option in the dropdown menu would be convenient. Clicking this would show all the graphs for the host on one page so you can compare them easily. Right now you would have to create a screen first which is quite a bit of work. |
Comments |
Comment by richlv [ 2011 Sep 12 ] |
this would probably burn horribly with thousands of hosts in a single group, so such environments should be taken in consideration |
Comment by Ghozlane TOUMI [ 2011 Sep 12 ] |
I think the request is for graphs for a specific host only... |
Comment by Arli [ 2011 Sep 12 ] |
Yeah, I also requested this feature to be available, when single host is selected. |
Comment by Arli [ 2011 Oct 07 ] |
There was an unofficial patch for it back in 2006, that was working great. |
Comment by alix [ 2012 Jan 31 ] |
charts.php.1.8.10.diff |
Comment by alix [ 2012 Feb 01 ] |
charts.php.1.8.10-2.diff |
Comment by AG [ 2012 Feb 14 ] |
I don't see this request as a duplicate of bug |
Comment by Sergio G. [ 2012 Apr 11 ] |
Here's my working version of charts.php diff, based on charts.php.1.8.10-2.diff which shows always all graphs, no matter if you selected one or you don't. This patch only shows all graphs when you select "not selected" in dropdown, in other words, when graphid is 0. |
Comment by Nathan Lewis [ 2012 Jun 07 ] |
Update for 2.0.0. I got a warning about Undefined Index for S_GRAPHS. Changed it to "**". It seems locale changed in 2.0.0. Just wanted to say thanks for this patch. It has been very helpful for me. |
Comment by Nathan Lewis [ 2012 Jun 07 ] |
Fixed Patch. |
Comment by xaa ru [ 2012 Oct 30 ] |
Hi, Nathan. |
Comment by jump1 [ 2012 Dec 03 ] |
Hi, would you be able to quickly patch charts.php for 2.0.3? it worked great for 2.0.0 cheers! |
Comment by christopher [ 2012 Dec 13 ] |
also a patch for 2.0.4 would be nice |
Comment by christopher [ 2013 Jan 08 ] |
will this feature be implemented in one of the next releases? |
Comment by richlv [ 2013 Jan 08 ] |
it's not planned for short term : https://zabbix.org/wiki/Docs/roadmap |
Comment by christopher [ 2013 Jan 08 ] |
pity - you are right. I did not know the roadmap yet. |
Comment by christopher [ 2013 Feb 05 ] |
a patch for 2.0.4 you can find here: thank you higebu!!!! |
Comment by Volker Fröhlich [ 2013 Jul 19 ] |
The patch on the forum is broken, see my comment there! |
Comment by Javier [ 2013 Oct 16 ] |
Source: https://www.zabbix.com/forum/showthread.php?p=125155 Thanks to Higebu! |
Comment by Javier [ 2013 Oct 16 ] |
Hi there. I've just added "zabbix_2_0_4_and_higher.patch". It worked for a zabbix-2.0.9 installation. Instructions to apply: 1. Dowload the file to /tmp for instance 2. Go to Zabbix php frontend installation: cd /srw/www/zabbix-2.0.9 3. Apply the patch (use sudo if files doesn't belongs to you): sudo patch -p1 < /tmp/zabbix_2_0_4_and_higher.patch Source of the patch: https://www.zabbix.com/forum/showthread.php?p=125155 Many thanks Higebu! |
Comment by Marc [ 2013 Oct 20 ] |
Attached patch zabbix_2_0_4_and_higher-flickerfreescreen.js.patch might solve the issue mentioned in corresponding forum thread. |
Comment by Marc [ 2013 Oct 20 ] |
The patch zabbix_2_0_4_and_higher-orderByGraphType.patch extends zabbix_2_0_4_and_higher.patch by ordering graphs. Graphs are separately ordered by name for 'graph' and 'pie' charts. |
Comment by Dominik Borkowski [ 2013 Oct 30 ] |
Thank you for the patches, the end result is just what I was looking for. Hopefully we'll see it eventually on the roadmap. Cheers! |
Comment by Javier [ 2013 Dec 02 ] |
Uploaded ZBXNEXT-75.patch Features: |
Comment by Cristian [ 2013 Dec 02 ] |
Hi Javier, Got a quick question: if we adjust the date/time selection all the graphs are adjusting or just the first one ? |
Comment by Javier [ 2013 Dec 04 ] |
Hi Christian, All of them are updated. Cheers |
Comment by Cristian [ 2013 Dec 04 ] |
Hi Javier, Looks very good, better than previous patches exactly because of updating all graphs when updating the date/time selection. I have one question. If all the graphs are Normal or Stacked how are the graphs ordered ? I can't understand how the graphs are ordered... |
Comment by Cristian [ 2013 Dec 04 ] |
Btw, I simply don't understand why this patch is not included into Zabbix source. The code is quite simple and these (very useful) patches are quite easy to add. |
Comment by Volker Fröhlich [ 2013 Dec 06 ] |
Working nicely, but the results are terrible to overlook or search through. What if there were a textual index at the top using HTML anchors to go to the graphs? |
Comment by Naruto [ 2013 Dec 29 ] |
Convenient but inefficient. You'll have many inexperienced users (in my case my own mates), clicking many times that option, for rendering many graphics, some of them not interesting to them. Besides that, this feature is somehow implemented in 2.2 screens. You can make 1 screen, and apply it to whatever host you want, just by using the filter menues. Check it! |
Comment by Marc [ 2013 Dec 29 ] |
It becomes convenient when one got a lot of different host assets like Linux/Unix/Windows/... hosts, load balancers, firewalls, switches, databases, routers, rooms, ... To be honest I'm not aware of the screen improvements in 2.2 over 2.0. In case dynamic elements are meant to be the better solution (wich are available in 2.0 too), that would still need to create/maintain at least one screen per host asset. Anyway, I agree this patch is not the final solution but it is a first step. |
Comment by Cristian [ 2013 Dec 30 ] |
Added to Marc comments: is hard to work with screens (even with 2.2 improvements), the improvements are just minor when it comes to using diff templates for monitored hosts. |
Comment by Javier [ 2013 Dec 31 ] |
BTW ZBXNEXT-75.patch works with zabbix-2.2.1 as well. |
Comment by Javier [ 2014 Apr 02 ] |
ZBXNEXT-75.patch works with zabbix-2.2.2 as well. |
Comment by christopher [ 2014 Apr 15 ] |
also works for zabbix-2.2.3 as well |
Comment by Reno Reckling [ 2014 Jun 14 ] |
Thanks you so much! I previously used munin-cgi for showing all monitoring graphs on one page and was very much missing that with zabbix. This fix worked great. |
Comment by Filipe Paternot [ 2014 Jun 16 ] |
Folks, this feature is great! We love it. How about doing it the opposite way as well? I mean, i need to see all "eth0" traffic for a given group. To this date, i create the screens manually. This is useful as well. |
Comment by AG [ 2014 Aug 02 ] |
Filipe, what you request is ZBXNEXT-1120 and/or |
Comment by Marc [ 2014 Aug 22 ] |
Attached patch zbxNext75-2.2.5.patch is based on ZBXNEXT-75.patch.
|
Comment by Jacek [ 2014 Aug 25 ] |
Great job! Is there a chance of having a form that would filter graphs by their names? |
Comment by Marc [ 2014 Aug 31 ] |
Attached patch zbxNext75-2.2.5-MultiSelectFilter.patch is a first try of adding filter functionality:
The filter is only displayed when a host but no graph is selected. Since it's the result of a PoC it lacks of a clean visual integration, persistent filter and is admittedly quite 'dirty' coded. Edit: |
Comment by Jacek [ 2014 Sep 02 ] |
Works like a charm. Thanks a lot. Would it be difficult to extend this filter by adding functionality similar to the filter from configuration->hosts->items tab , which would be displaying all graphs with defined word in the name? It would be more convenient in cases where there is lots of graphs on particular host. As an example: on the 24-interface switch, I've 24 traffic graphs on physical interfaces (iwth 'traffic' in their names), 24 graphs with optical parameteres (with 'power' in their names) and 4 of them are connecting to different sites of one client (whose name is in all related to him graph names). All graph names contains a name/description of interface. |
Comment by Bobyboy [ 2014 Oct 21 ] |
Hi, |
Comment by Javier [ 2015 Mar 13 ] |
zbxNext75-2.2.5.patch works in zabbix 2.4.4 apparently without any performance issue. |
Comment by Jacek [ 2015 Apr 10 ] |
Have any of you installed zbxNext75-2.2.5-MultiSelectFilter.patch succesfully on zabbix 2.4.4? How to do this? |
Comment by sepa [ 2015 Aug 30 ] |
I've made an alternative version of this patch for 2.4.3, with graphs being displayed in two columns and paging: |
Comment by Marc [ 2015 Aug 30 ] |
sepa, sweet! but please attach it to this ticket instead of linking to an external site. |
Comment by sepa [ 2016 Jan 03 ] |
Patch became too large to attach to this ticket, moved it to separate git repo: https://github.com/sepich/zabbixGrapher |
Comment by Jacek [ 2016 Jan 04 ] |
Thanks sepa, that's a huge improvement !! Would it be difficult to add an option to choose entire host group at once (without having to select particular hosts) from which user could search graphs / items? |
Comment by sepa [ 2016 Jan 06 ] |
Nice feature, implemented. |
Comment by Micha Slezak [ 2016 Jun 09 ] |
Here is nice page http://www.zabbix.com/development_services.php where on the bottom of this page is possibility to Contribute on specific feature. I think that it can be way how to promote some feature requests and to do something like crowdfunding on specific feature. Zabbix dev setup price and we can contribute on this feature I think it can be good way how to pay for each feature and to to pay whole development by one customer. |
Comment by Diego Meiringo Cesário Pereira Gonçalves [ 2016 Jun 22 ] |
And For Zabbix 3.0. Any 1? |
Comment by Jacek [ 2016 Jul 04 ] |
It can be found here: https://github.com/sepich/zabbixGrapher |
Comment by Alexei Vladishev [ 2020 Feb 12 ] |
We are going to implement a new view available from Monitoring->Hosts (also new view) that will display all user defined graphs for a selected host with a filter by graph name. Therefore it will be very easy to see, for example, all graphs or graphs matching "cpu", "disk", etc on a single page. It is coming in Zabbix 5.0, see |