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

None default Graphs #256

Closed coredump17 closed 4 years ago

coredump17 commented 4 years ago

Hi, I am looking for some help. I have setup icingaweb2 with your module and loaded the default icinga2 dashboard (small amendments to make it work with NRPE). The default graph works fine for all checks, however, i am unable to select a custom graph for a service - It does not seem to match, and defaults back to the default graph :(.

icinga2 object list --type Service --name server-1!check_apache_status | egrep ' name |check_command|display_name'

[check_apache_status] dashboard = "Icinga-Apache-Status" panelId = "9" orgId = "2" customVars = "" height = "800" width = "1200" repeatable = "no" dashboarduid = "-9Pcco5Mk"

Grafana web module 1.3.6 Grafana version 7.2.0 Icinga version 2.12.0-1

Can you please advise how i can troubleshoot "check_apache_status" service not selecting the "check_apache_status" graph ? Its driving me nuts :).

Thanks in advance!

coredump17 commented 4 years ago

sorted this. I had a look in the code and now understand why we have "Config customvar". Removed and now my predefined service matches work.