[ZBXNEXT-570] create automated group graph to see an item for a whole group Created: 2010 Nov 29 Updated: 2016 Apr 09 Resolved: 2014 Aug 26 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 2.3.4 |
Type: | New Feature Request | Priority: | Major |
Reporter: | ghislain | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 117 |
Labels: | graphs, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
hi, i face more and more the same need so i share this idea with you: I need to graph a ressource for a complete group of server to see if one is below or higher than the group. for exemple lets say i have a physical server with 10 virtual instances and i want to see a graph with memory usage of all the virtual server in one graph. The issue here is that if i add or remove a virtual server i must go change the graph by hand. In a constantly moving virtual setup this is quite impossible to maintain. The feature that would be handy would be a group graph feature. You choose a group and an item . Zabbix would automaticaly build a graph with all the host that have this item on one graph choosing random colors for each one. There could be some added thing like graphing the avergae of all those items. This would make group monitoring very visualy easy. What do you think of this ? regards, |
Comments |
Comment by Ronald van Zantvoort [ 2011 Feb 07 ] |
I completely agree! About 80% of the graphs we use are like this. I create a group 'Webcluster' with a bunch of templated hosts in them, all with simple graphs. This costs a lot of RSI and time to build & maintain, while it would be so logical to add this in anything but the smallest environments. This is one of the very few features I'm truly direly missing in Zabbix (I now have stupid-ass shell scripts multiplying XML's to do it for me), and it would save a lot of people a heck of a lot of time (and mouses) to implement it. I very strongly support this RFE. |
Comment by Phil Smith [ 2011 Feb 14 ] |
Back link from originating thread: http://www.zabbix.com/forum/showthread.php?t=20093 |
Comment by laura moo [ 2011 Mar 07 ] |
This gets my vote! We would strongly benefit for this feature as I am trying to set up a "monitoring wall" so our general users can also keep track of several things in our infrastructure - this kind of feature would make my life so much more easier! |
Comment by Maxim Veksler [ 2011 Jun 07 ] |
Any expectations on this highly wanted feature? |
Comment by richlv [ 2011 Jun 07 ] |
it's not on the 2.0 roadmap, which can be considered to be a relatively short term roadmap |
Comment by Chris Dishan [ 2012 Jan 17 ] |
Need this all the time. Currently manage these manually using calculated check on a fake host pointing to actual hosts and create a graph from that. |
Comment by Anton [ 2012 Feb 01 ] |
Just adding my support for this - it would be very useful for us as well. |
Comment by nick [ 2012 Jun 27 ] |
X1000. My boss won't allow us to fully transfer until this feature is implemented. For the love of all that is holy, help me get off of nagios and implement this feature. |
Comment by richlv [ 2012 Jun 27 ] |
note the part about "me too" comments and voting at https://zabbix.org/wiki/Docs/bug_reporting_guidelines |
Comment by richlv [ 2012 Nov 20 ] |
ZBXNEXT-1120 is about displaying a specific graph for all hosts in a group |
Comment by Yvo van Doorn [ 2013 Jan 11 ] |
What is some of the leg work the community can do here to make this a feature a higher priority. Management would love to be able to see the entire group of web servers behind the load balancer and see the graphs on them, right now... that is not easy to do. |
Comment by richlv [ 2013 Jan 17 ] |
convincing the management to finance a specific feature tends to work ok |
Comment by Tom Llewellyn-Smith [ 2013 Jun 20 ] |
In the hope that it helps someone else, I have published a Perl module I wrote to help in creating graphs containing item X for all hosts in a host-group. |
Comment by richlv [ 2013 Nov 24 ] |
(1) this would be even more needed for lld graph prototypes - maybe as a graph to include all items with identical keys, all discovered items, or maybe all item keys matching a regexp. |
Comment by richlv [ 2013 Nov 24 ] |
(2) should work with host prototypes (vmware discovered hosts for now) |
Comment by Tomasz Grzywacz [ 2014 Mar 13 ] |
Any help on how to use this script? |
Comment by mururoa [ 2014 Jul 16 ] |
We need that feature. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 01 ] |
Specification available at https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-570. |
Comment by Denis Volkov [ 2014 Aug 01 ] |
Can we have some sketches for new page? I think description of new feature is good, but sketch would help a lot to visualize this. |
Comment by AG [ 2014 Aug 02 ] |
Hello Pavels, thanks for your update, that would be a very welcome feature!! > Graph page If i understand your description correctly, this would effectively mean that you don't see the data from all the hosts you selected in the filter, but just an average... which is almost useless to quickly ascertain the health state of a group of hosts at a glance! What i am really missing in Zabbix (and i think many bug reporters here also) is the possibility to view all the hosts of a group at once, as in Ganglia, say: By the way, i also very much miss in Zabbix the possibility to see all the graphs of a single host at once (as provided by Ganglia for instance also) but that is the subject of ZBXNEXT-75 ... |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 04 ] |
AG, you misunderstood the spec. Currently when you open a simple graph, at some point when you select a longer period of time, you will see three values for an item: it's minimum, maximum and average value. If multiple items are selected, you see only the average value for each item. You'll still see the values for each selected item. I've corrected the spec a bit to make it less ambiquous. |
Comment by AG [ 2014 Aug 08 ] |
Great, thanks! |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 12 ] |
(1) Translation string changes: Added:
Removed:
iivs CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 12 ] |
(2) Latest data and graph filters still need redesigning.
jelisejev I've removed incorrect usages of NAME_DELIMITER in r48365. I've also changed the name filter label to just "Name". jelisejev In r48385 I've changed the design of the history page filter buttons. iivs I removed "main" class from filter button. It seemed unnecessary. See r48408 jelisejev Right, thanks! CLOSED. |
Comment by Alexei Vladishev [ 2014 Aug 14 ] |
(3) The mass-action dropdown and Go button should have disabled style like in Zabbix 2.2. It is a global issue related to all pages that have mass actions. |
Comment by Alexei Vladishev [ 2014 Aug 14 ] |
(4) Filter by one host, select all items. Then switch to filtering by another host. Note that the Go button still show us older selected items. jelisejev RESOLVED in r48120. iivs CLOSED. |
Comment by Alexei Vladishev [ 2014 Aug 14 ] |
(5) Host groups and Hosts does not resize when number of selected elements exceeds their size. Have a look at the configuration of templates (tab 'Linked templates') to see how it works nicely there. iivs RESOLVED in r48188 alexei CLOSED |
Comment by Alexei Vladishev [ 2014 Aug 14 ] |
(6) Switching from Normal to Stacked changes item ordering. I think we should use natural sort order based on item description plus itemid. jelisejev Added sorting in r48125. For stacked graphs items in the legend are drawn in reverse order, to match the order of the lines on the chart. iivs CLOSED. alexei I believe we should sort by item description plus visible host name. It would make legend much easier to read. REOPENED iivs RESOLVED in r48326 jelisejev I've moved the sorting code out of the CLineGraphDraw class in r48379. iivs CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Aug 19 ] |
(7) Browser remebers selected checkboxes via cache. Select items with checkboxes, then press "Go" button to display graph. Now press back in browser. "Go" button is disabled, checkboxes are still checked. RESOLVED in r48219 alexei It still does not work well. When I go back, there is no selected items however the "Go" button is still enabled and displays number of previously selected items. iivs For some browsers checkbox selection was cached, due to this I tried to remove it with autocomplete=off attribute, but it turns out, if FireBug is disabled, checkboxes are unchecked, but yellow line style and "Go" button still displays previously selected objects. Similar things happen on other pages. Pages now read cookies on load and decide to delete them if it is a different page. So, for example, in hosts page check all hosts, click on items page and then press back, host checkboxes show same bug. iivs I removed autocomplete=off and handled checkbox selection via JS. First it checks if checkboxes should be selected if cookies are present. If not, check if checkboxes are still selected from browser cache and then update row style, main checkbox and "Go" button if necessary. RESOLVED in r48308 jelisejev I've made a minor change in r48369, please review. Otherwise good. iivs CLOSED. |
Comment by Alexei Vladishev [ 2014 Aug 21 ] |
(8) Select/unselect all is quite slow even on my i7 CPU. It takes 2 seconds to select 1000 elements. iivs I noticed this slowness on Chrome with 11 checkboxes only. jelisejev RESOLVED in r48383. iivs Opening page with for example 90 checkboxes and no checkboxes selected, loop executes up to 8100 times. REOPENED. jelisejev RESOLVED in r48412. iivs I removed checkbox debug code in r48418, other than that we can't make it faster due to row style recoloring. jelisejev Thanks! CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Aug 21 ] |
(9) Having no items selected from filter and clicking main checkbox generates JS error inside jQuery: TypeError: e is undefined ...rCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i... in jsLoader.php?ver=2.3.4&lang=en_GB&showGuiMessaging=1 (line 4978, col 5188) iivs Not sure how I feel about main checkbox being displayed as enabled if there are no other checkboxes in the list. For now I just fixed jQuery producing error, due to empty object being passed in function. RESOLVED in r48323 jelisejev This fix was a bit incorrect, since it wouldn't work with multiple checkbox ranges on a single page. See my fix in r48368. iivs CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 26 ] |
(10) I've reverted the CSS fix you've made in r48212. It will be fixed separately under I've also made some changes to the CSS code in r48398, please review. iivs CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Aug 26 ] |
TESTED. Close (8) before merging. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 26 ] |
Available in 2.3.4 r48423. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 26 ] |
(11) Documentation needs to be updated. martins-v Added to documentation in:
Also updated:
RESOLVED. Please review. <richlv> it looks like one important thing from the spec is missing in the documentation : "to avoid displaying too many lines on the graph, only the average value for each item will be displayed." martins-v Two details added to https://www.zabbix.com/documentation/2.4/manual/config/visualisation/graphs/adhoc - about average values displayed and triggers not being displayed. RESOLVED. jelisejev Everything else seems to be OK. martins-v CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Aug 26 ] |
(13) Having selected first option "none", the main checkbox and button appears enabled, but with is same error described in (9). jelisejev RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-570 r48445. iivs CLOSED. |
Comment by Kenneth Palmertree [ 2014 Aug 27 ] |
(14) A user that has only read-only permissions, gets the following error with selecting a filter for host in latestdata: ERROR: No permissions to referred object or it does not exist!. jelisejev Thank you for the prompt report. Fixed in svn://svn.zabbix.com/branches/dev/ZBXNEXT-570 r48448. iivs CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Aug 27 ] |
TESTED. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 27 ] |
Fixed in 2.3.4 r48456. |
Comment by richlv [ 2014 Aug 31 ] |
filter looks pretty bad in opera - filed as |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Sep 23 ] |
This caused a regression - |
Comment by richlv [ 2014 Sep 25 ] |
subissues still open : 11 |
Comment by richlv [ 2014 Oct 01 ] |
a regression : |
Comment by Cristian [ 2014 Nov 05 ] |
The current implementation is nice as can compare things without creating a graph (which may not be needed at later point). But for many cases is totally useless. I see at least 2 situations when this implementation is not enough and we need some graphs we can define in templates/screens: So even if this implementation is nice I find there is a real demand for a complementary approach... |
Comment by Burps [ 2015 Apr 08 ] |
I fully agree with the previous comment : I really enjoy this feature, but I need it in a "more stable" way, I should't have to re-create the graph every time. I'm not a developper, nor do I fully understand zabbix, but as a user, here is how I would like it : I know I'm not bringing any solution, just (not very clear) ideas... |
Comment by Pieter Houwen [ 2015 May 28 ] |
@Pavels Jelisejevs I really love that approach, however, I really miss the option to pin the specific graphs you create in the Latest Data section to your favorites listed in the Dashboard. Or save it anywhere. I mean also the Dynamic Graphs |
Comment by Jérémy D [ 2016 Apr 09 ] |
+1 Need solution to prototype group graph |