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

Grafana InfluxDB selecting disks and services do not display correctly #252

Closed HipDragon closed 1 year ago

HipDragon commented 4 years ago

Description

After importing the InfluxDB base metrics I noticed that the disk panel doesn't update the graph when changing the disk variable correctly when selecting a disk. The disk panel also seems linked to the service variable, which also doesn't seem show any other services when you change the service window.

The problem seems to be with the query, adding { "condition": "AND", "key": "metric", "operator": "=~", "value": "/^$disk$/" } to the three disk queries seems to correct the disk display. It does not solve the service selection issue.

The service selection seems to be the queries only look at the disk in the from and it's never the service that is selected.

Environment

Mikesch-mp commented 1 year ago

Base metrics is only a tech demo and should not used with the module