-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pick item based on group and not based on host #18
Comments
@oovoo in zabbix all items will be mapped based on host and not the hostgroups... Also, the items varies from host to host. Are you familiar with zabbix? |
Something like cpu load for all servers in hostgroup in one panel for example? |
Oovoo, it is something crazy, have you seen implemented your idea in other grafana plugins? Alex I think he wants templated screens, if so we need to work with key_ field and not itemid and hostid |
@oovoo need example for more clarity. |
nucleus/Diwahars dear friends I am personally working with Zabbix for last 10 years so I am pretty familiar with internals and capabilities of the product. let's me try to rephrase and give u an example what I am asking u to create: Let's assume we have a group of servers I want to pick this group and populate list of counters that are shared between all hosts that are exists in the group. When I pick specific counter which is shared across all hosts in the group, It will populate all hosts where is the counter exists on the relevant graph automatically. It is very time series approach when u pick Time Series metric based on reg. expressions like in Graphite/InfluxDB etc. if its still not clear I'll try to find some time and provide this capability and contribute into your project. Its very simple when u go to Zabbix to latest data pick specific counter in the group and then click to combine values on one graph. |
I would do something like that:
when I pick the group and counter its simply populates latest data from chosen counter across all hosts in the group. The point here if I add a new host to the group, a new host will appears automatically on the graph. Make sense? |
it is already done with templated graphs try to test in https://github.com/alexanderzobnin/grafana-zabbix/tree/feature-templated you need to go to settings to templated and see how it works |
@oovoo Yes, this feature will be availiable in 2.0.0 release (see milestone 2.0.0). Now I develop templating in feature-templated branch. |
Great thanks |
Can u give me a use case of using templates with zabbix data? You already have clear separation between host / metric / value |
@oovoo see example at http://play.grafana.org/dashboard/db/templated-graphs-nested. In zabbix datasource you may add templated variables and choose them in metric editor. And then you just change templated variable value to view, for example, all items in selected application: And as you wanted, you can select all application items in selected group: |
@oovoo you need to select your $item_key in metric editor under graph |
@oovoo Wait for about 1 week - this functional will be added soon. I'm working on it. |
Great thanks, looking forward |
Alexander super cool feature, works good. The only thing which is lack now is an ability to search for item which is based on regex/wildcard pattern. Use case: I want to see all items that belongs to group of servers that match to defined filter. |
@oovoo yes, this feature is planned for the future. |
I want to see a hostgroup cpu load item graph, when i create a dashboard, select group, all host cpu load graph view on a graph, how can i create many graphs and every host have a self graph?thanks. |
@halcyonone |
@nucleusv |
try to change selections in variables on top of dashboard than look here http://play.grafana.org/dashboard/db/new-features-in-v2-1 General Tab Templating options |
@halcyonone look at http://play.grafana-zabbix.org/dashboard/db/scripted-dashboard - scripted dashboard example. |
@nucleusv @alexanderzobnin |
Great job gentlemen
Please let an ability choose a counter which is exists in specific group and automatically populate it on the graphs from all servers that are exists in chosen group.
thank you
The text was updated successfully, but these errors were encountered: