Closed StefThomas closed 5 years ago
I found how to get PNP4Nagios link. I had applied both host-pnp and host-perf… Just need to add host-pnp to get the right link.
Still don’t know why it doesn’t work with Grafana so I keep this issue open.
I found how to get PNP4Nagios link. I had applied both host-pnp and host-perf… Just need to add host-pnp to get the right link.
Still don’t know why it doesn’t work with Grafana so I keep this issue open.
A long time ago (several years), I tried Grafana with Thruk. The only way I could get it to work is via OMD. If you (or anyone else reading this) has managed to get Grafana working with Thruk without using OMD, please let me know the steps and I will test them out and create some documentation.
This is the issue and bug tracker for Thruk, if you have general questions about monitoring configurations or best practices then this is not the right place.
I have no graphs for my services nor my hosts, only the message: “Database not reachable or empty result”
Thruk 2.26-2 installed with the omd-labs package from the Consol repository on Debian 9
I configured the site like this:
If I de-activate grafana and influxdb I have "Service un-available" instead of the previous message but I can still see the PNP4Nagios graphs if I use the /pnp4nagios/ URLs directly. This is why I activated Grafana & InfluxDB in the first place, because the action_url links point to a grafana URLs by default.
I also tried with "http" instead of "tls" for the influxdb mode but with the same result. I also followed the documentation (grafana/plugins/sni-pnp-datasource/edit) and installed the PNP API, still without success. Do I have to set something more, do I have to create a datasource ? (The existing one created by OMD is not sufficient ?!)
I set the log level to debug in grafana.ini but I see nothing that helps.
Please let me know what to do. As a workaround, what is the best manner to configure the site to use the PNP4nagios URLs instead of the Grafana ones ?
More Globally what are the pros and cons of Grafana(+InfluxDB?) vs. PNP4Nagios ?