Giter VIP home page Giter VIP logo

Comments (26)

Diwahars avatar Diwahars commented on June 11, 2024

@oovoo in zabbix all items will be mapped based on host and not the hostgroups... Also, the items varies from host to host.
it will not be good, if it automatically populate from the graphs once u select the group.

Are you familiar with zabbix?

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

Something like cpu load for all servers in hostgroup in one panel for example?

from grafana-zabbix.

nucleusv avatar nucleusv commented on June 11, 2024

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

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@oovoo need example for more clarity.

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

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.

capture

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

I would do something like that:

  1. hostgroup.get with specific group name
  2. host.get based on groupid (found in step 1)
  3. item.get based on groupid (found in step 1) and creating unique list of counters

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?

from grafana-zabbix.

nucleusv avatar nucleusv commented on June 11, 2024

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

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@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.

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

Great thanks

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

Can u give me a use case of using templates with zabbix data? You already have clear separation between host / metric / value

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@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:

2015-05-26 22-55-52 grafana - templated values query - mozilla firefox
2015-05-26 22-57-14 grafana - templated values query - mozilla firefox

Select variable value:
2015-05-27 06-48-00
2015-05-27 06-48-36

And as you wanted, you can select all application items in selected group:
2015-05-27 06-52-13

To filter item use regex field:
2015-05-27 06-59-47

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

Alexander,
Template is just mechanism to achieve what I am looking for I checked the proposed version and I was unable to generate the graph that will be populating specific item from all hosts from group I pick.
Follow you link this is exact example I am looking for to achieve:
capture

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

in my case it looks like following:
capture
capture1

from grafana-zabbix.

nucleusv avatar nucleusv commented on June 11, 2024

@oovoo you need to select your $item_key in metric editor under graph
and in templating menu you should select host group and all hosts, in templating editor check All option and set it to glob

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@oovoo Wait for about 1 week - this functional will be added soon. I'm working on it.

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

Great thanks, looking forward

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@oovoo see develop branch and try to use this functional.

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

Closed by cb7d08c. See develop branch.

from grafana-zabbix.

oovoo avatar oovoo commented on June 11, 2024

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.

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@oovoo yes, this feature is planned for the future.

from grafana-zabbix.

halcyonone avatar halcyonone commented on June 11, 2024

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.

from grafana-zabbix.

nucleusv avatar nucleusv commented on June 11, 2024

@halcyonone
Look at http://docs.grafana.org/guides/whats-new-in-v2-1/ - Repeating Rows and Panels
https://github.com/alexanderzobnin/grafana-zabbix/wiki/Usage#templates - Templates

from grafana-zabbix.

halcyonone avatar halcyonone commented on June 11, 2024

@nucleusv
I see it, but i dont know how to do it, i not found method, please help me.

from grafana-zabbix.

nucleusv avatar nucleusv commented on June 11, 2024
  1. create 2 variables in new dashboard:
    group - Variable values query: *
    host - Variable values query: $group.* ( host depends group, you will see only hosts in selected group)
  2. create a new graph in group, host fields select $group, $host
    than item(what you need)

try to change selections in variables on top of dashboard

than look here http://play.grafana.org/dashboard/db/new-features-in-v2-1
edit graph http://play.grafana.org/dashboard/db/new-features-in-v2-1?panelId=11&fullscreen&edit

General Tab

Templating options
Repeat Panel

from grafana-zabbix.

alexanderzobnin avatar alexanderzobnin commented on June 11, 2024

@halcyonone look at http://play.grafana-zabbix.org/dashboard/db/scripted-dashboard - scripted dashboard example.

from grafana-zabbix.

halcyonone avatar halcyonone commented on June 11, 2024

@nucleusv @alexanderzobnin
thanks very much, i did it, beacause my grafana version is too low, i update it, it works well.
i hava other question, grafana-zabbix can get a zabbix host all graphs without manual create every graph? because my servers run different app and have diff zabbix graphs, thanks.

from grafana-zabbix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.