February 28, 2023, 2:52pm
I recently installed Grafana in my icinga enviroment, i followed this tutorial:
It works in grafana sides but when i try to embed it into my icingaweb it does not display graphs
I tried to enable the debug mode so i think i should be able to see the graph or at least the error message but i don’t see either of them
Even Grafana logs doesn’t signal any error, I’m very confused
I saw this, but i don’t know how to upgrade the versions, maybe this could be a problem ( I see it’s working by now but maybe it is not?)
Hope someone can help, Thank you!
February 28, 2023, 3:07pm
I you don’t use icingadb, you need to use a older release of the module:
February 28, 2023, 3:23pm
I have just installed Grafana so I don’t have any particular structures into it,
is the best practice to icingadb or to change the version?
February 28, 2023, 5:12pm
icingadb-web is replacing the
monitoring used the old IDO DB while
icingadb-web uses the new icingadb and Redis.
I hope I will manage to migrate this year.
March 2, 2023, 8:59am
Sorry for the late reply
so can i just remove influx db and use Icingadb?
March 2, 2023, 9:10am
Yes, you can switch to the new Icingadb-web but you need to follow the upgrade path.
March 2, 2023, 9:13am
Ok thank you, and the alternative is to purge grafana module in icinga and then reinstall an older version, i hope 1.2.1 will work
March 2, 2023, 9:25am
Yes but if you set up a new system, I would go with the IcingaDB and not downgrade the Grafana module.
March 2, 2023, 9:29am
Ok you are right just one thing
I have already set up
Could it create trouble with them? Or is it a standalone module?
March 2, 2023, 9:38am
Icingadb-web is a standalone module but it needs the IcingaDB and Redis.
March 2, 2023, 9:44am
Ok i think i will downgrade the module at the moment, i will change later, but i can’t find any grafana module report < 2.0.0, where do i find it? Or is there a particular way to downgrade an icinga module?
March 2, 2023, 9:51am
Nothing special, just replace the folder of the module.
March 2, 2023, 9:55am
ok thank you !
I found the correct release!
March 2, 2023, 11:15am
Perfect, now the module is working!
Just another little problem, i installed the renderer but i can not see any actual graph
March 6, 2023, 5:10pm
Maybe you want to use my patch?
03:22PM - 21 Oct 22 UTC
We have the problem, that the grafana-renderer is very slow and uses
… a lot resources. Is much faster, to use iframes to embed graphs in icingaweb2. Further you then have tooltips in the graphs.
The downside is, that you do no longer have links to grafana to open a dashboard from icingaweb2.
So I extended Grapher.php to add a link above the grafana panels embedded as iframes into icingaweb2. With this, you have much faster rendering of the graphs in the iframes and you still can click on a link '=> see in Grafana' to open the panel in Grafana.
I did the according changes to GeneralConfigForm.php to be able to interactively do the config for the grafana-module too.
Then you no longer need the renderer (when you use it only for icinga) and it is much faster than using the renderer.
March 6, 2023, 5:51pm
Apologies for (slightly) hijacking a thread here, but I’ve been following the
guide at https://github.com/Mikesch-mp/icingaweb2-module-
grafana/blob/master/doc/02-installation.md for getting Grafana integrated with
Under “Grafana Preparations” is the statement:
“Depending on which mode (proxy/indirect proxy/direct/iframe) you want to use
you have to set some configuration in Grafana.”
What’s the difference between these modes and how would I decide which one I
want to use? I have no idea why one might be better than another in any given
setup, and therefore how to choose which one I should go for.
March 7, 2023, 8:04am
Thank you, i will try your patch and reply to you as soon as possible
March 13, 2023, 11:15am
For iFrame, you have to set ‘allow_embedding = true’ in the Grafana configuration. Probabely you also have to grant anonymous access to Grafana.