Add Prometheus Metrics to visualize them in icingaweb2

Dear Icinga community,

I would like to integrate Prometheus metrics into icinga2, so that I finally don’t have to look at two monitoring Systems (Prometheus & icingaweb2).
Is there a good practice to solve this?

So far i could find this: https://github.com/vshn/signalilo
and this: https://github.com/opsdis/icinga2-exporter whereas this is a icinga2 import to prometheus which is not really what I want.

Does someone already have experiences with combining prometheus with icinga?

Cheers,
Max

Hello and Welcome

If you want to use prometheus as your data-store and read the data into icinga, then you may want to look at the icinga exchange to see if anyone wrote something for that.

I wrote a plugin that uses Prometheus node/statd exporter and is used as a check command in Icinga to present the values:

I hope that is what you need.

Hello @aflatto,
thanks a lot for your reply. I guess it will help me a lot someday later.
For now I decided to use just both interfaces. :slight_smile:

Hi Max

Did you check out the icingaweb2 grafana module?

We use this one in combination with the opsdis icinga2-exporter

Best
Johannes @ Opsdis

Hi,

small update for 2026:

Icinga2 is planning a OTLPWriter for 2.16 https://github.com/Icinga/icinga2/pull/10685

With this Icinga2 can natively send data to Prometheus.

For graphs in Icinga Web, there still is the Grafana Module. However, we also implemented an alternative: GitHub - NETWAYS/icingaweb2-module-perfdatagraphs: Icinga Web Module for Performance Data Graphs. · GitHub

There’s a Prometheus backend for the new module as well GitHub - NETWAYS/icingaweb2-module-perfdatagraphs-prometheus: A Prometheus backend for the Icinga Web Performance Data Graphs Module. · GitHub

As for Icinga metrics in Prometheus for meta monitoring, we just released this: GitHub - NETWAYS/icinga2-exporter: Prometheus exporter for Icinga2 · GitHub

Regards

Markus

PS, we also have a check plugin to fetch data from Prometheus: GitHub - NETWAYS/check_prometheus: Icinga check plugin to check Prometheus · GitHub