I try to configure grafana and grafana module with Icinga at the moment.
I am using …
Raspbian buster
Icinga 2.6.2
Grafana Module 1.3.6
Grafana 6.4.4
InfluxBD 1.6.4
I installed an configured the InfluxDB with DB “icinga”, a user and password for the database.
I activated the feature at icinga2 and the database is growing. The Icinga2 metrics are wirtten to the DB:
“Test & Save” seems to be ok and everything seems working.
After this I imported the default dashboards of the grafana icinga2 module:
base.metrics.json
icinga2-default.json
I only gave them a UID of 100 and 200. Nothing else has been changed for import. At the “icinga2-default” dashboard I left hostname, service and a third variable “null”.
If I open the dashboards they are showing no data.
The next step is to get the graphs at Icinga2 running but I think Grafana should first show graphs befoire Icinga would. Is this correct?
I have got news.
As already mentioned I am using Icinga2 + IncluxDB + Grafana on a Raspberry Pi. It is the Pi 4 with Raspbian Buster.
I activated the check box “Show Debug” in the module configuration at the Icinga webinterface: Configuration → Module → Grafana. At the right site there are more informationsof the Grafana module. At the top you can click on “Configuration”. At the bottom of this dialog is the mentioned checl box called “Show Debug”.
I tokk this url and try to open it in a different braowser tab:
No I get the detailed error message which seems to be a problem only for users like me who have an ARM platform like raspbian:
Now I try to find out if I can install PhantomJS or if I have to use a different package to get the grafana rendering working.
It seems to be a “feature” that PhantomJS is missing at the ARM platform. I think everybody using such a platform will face this problem.
Grafana says that this plugin is not for ARM. They say arm is low performance platform and therefore the render capability should not be implemented.
But I already try to get it installed and configured … and working. I hope I will get it up and running.
I also hab to replace the node-module chromium binary by /usr/bin/chromium-browser.
But I also get some errors and no graphs.
This is the way I configured the grafana module:
can you explain the module configuration a bit. I am not sure if I am missing something.
I don’t really know what the different connection modes mean. I have all installed in the same hardware and I don’t have special security requirements. Maybe I can find out what is going wrong if I understand the difference between direct, proxy, iFrame and so on.
The documentation shows module configuration with Grafana V.5. At every screenshot the box is checked. I am using Grafana 6.x. Is it correct that I don’t need a Dashboard UID if I use this Grafana version? Does the PanelID hast to be the same like in Grafana? And if it needs to be the same where do I find the PanelID in Grafana?
For “basic auth” I need to configure a organisation. Needs this organisation to be configured at Grafana? The documentation says for “direct mode” I can configure users which have to log in Grafana before. Is this optional? Or do I have to configure a special user?
I tried to configure like it is documented but I don’t really understand why and maybe this is the reason for all my problems. In this situation debugging is a bit difficult. Maybe you can help me bit to understand what is going on.
yes you need to enable v5 (which is now v5+). With v5 of grafana they introduced the UUID for dashboards, so i could not rely on dashboardname anymore. For the panel ids you need to put in the same as in your grafana dashboard. Mostly its 1 if you have only one panel per dashboard, but sometimes its 2 or if you have multiple panels in a dashboard you have to get the panel id you want to display inside of icingaweb2.
For authentication i strongly recomend you to use api key, just create it inside grafana with read only rights, so you dont need to take care about comapany names etc.
If you need more help, just write here or send a message.
The tenderer is your problem. Its sad, but arm is no longer supported. You have to move grafana itself to x86 OS or use the renderer docker container on a x86
Hi
Did anybody succeed to configure icinga2 with grafana 7 and the image renderer plugin? I get the grafana server error described by jens niffchen about localhost:3000. I have a intel xeon processor, so no arm problem.
What is needed in the grafana.ini file?