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 94 forks source link

multiple panels in service with dynamic output #321

Open simchaikin opened 1 year ago

simchaikin commented 1 year ago

Hello I have a follow problem : My icinga script return perfdata by users (0-16) image So per every use I build a panel in grafana (by Repeat by variable - $perfdatalabel) and in grafana I see all panels to every user , but due to ton static number of users I don't have a static numbers of panels that I can enter to panel id line: image The question , how I can set module /grafana/ icinga setings to see all relevant panels in the module

jimiflowers commented 1 year ago

Hi. You can set the "Repeating Panel" option to "Yes" and then set the "Metrics per panel" option to "1" (in your case, based on the picture you attached, every user is a metric, with his label and value). The module will search a graph for every user the service check returns.