Mikesch-mp / icingaweb2-module-grafana

Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
https://icinga.com/community/
GNU General Public License v2.0
241 stars 95 forks source link

Repeating Panels configuration #317

Closed markuslf closed 1 year ago

markuslf commented 1 year ago

Imagine a Grafana dashboard like this, with repeating rows (!), based on a query that reads all the disks of a host (count differs from host to host). Each row shows the same several non-repeating panels.

image

Am I right that the Grafana module cannot handle this today?

Mikesch-mp commented 1 year ago

Please read the docs, https://github.com/Mikesch-mp/icingaweb2-module-grafana/blob/master/doc/04-graph-configuration.md#auto-repeating-panels It does nearly what you want to do. if one service delivers many perfdata, you can create a dashboard for the with one metric per panel and repeating panels/rows for the other metrics.

markuslf commented 1 year ago

Ok, let me use another example - network I/O on network interfaces. What I mean is:

Like with disks, the "number of metrics" is dynamic. "metrics" example for a "network-io" check:

Therefore the number of red-highlighted panel rows is also dynamic.

Screenshot 1 - Dashboard "Network I/O", host 1 with one network interface: image

Screenshot 2 - the same dashboard, host 2 with multiple network interfaces:

image

The "Network I/O" dashboard handles that fine, but following your docs I can't figure out any numbers to configure the Grafana module for this type of dashboard properly.

Mikesch-mp commented 1 year ago

Works only for repeating panels, not for rows. Cant be added as feature, because there is no way to figure out the row numbers / names

markuslf commented 1 year ago

That's what I wanted to know, thank you, Carsten.