Goal: display Grafana graphs within IcingaWeb2
Question:
Is there a Grafana Dashboard (for InfluxDB) known that works out of the box?
Software:
Debian 9 (stretch)
Icinga2 r2.11.0-1
Grafana v6.4.3
Influxdb 1.7.9-1
Status:
Icinga agents and service measurements can be displayed within Grafana web-frontend. Using the icinga2-influxdb-host dashboard.
Tested Grafana Dashboards:
Name: icinga2-influxdb-host
Dashboard ID: 1572
Status: working out of the Box – but only within Grafana web-frontend. The author states, that this dashboard can not be used with the icingaweb2-module-grafana – what I can confirm.
Name: Icinga2 with InfluxDB
Dashboard ID: 381
Status: out of the Box, it doesn’t even find any Agent.
Sub-problem:
For example the dashboard with id 1572 fails with a timeout (icingaweb2 notifies about curl being unable to fetch) because the icinga-grafana-modul autogenerated curl looks like:
curl ‘http://127.0.0.1:3000/render/d-solo/UIDDashboard>/icinga2-influxdb-host?var-hostname=FQDN_Icinga2Agent&var-service=load&var-command=load&panelId=42&orgId=1&width=640&height=280&theme=light&from=now-6h&to=now’
testing a slightly different curl works:
curl ‘http://127.0.0.1:3000/render/d-solo/UIDDashboard>/icinga2-influxdb-host?var-hostname=FQDN_Icinga2Agent’
Sub-Question:
How must the parameter var-service=load, var-command=load be handeld by the grafana dashboard?
Thank you a lot.