Prometheus to Icinga2 Checks
[!WARNING] Proof of Concept
This project is in an very early stage of development. Don't use it in production.
This tool queries a Prometheus server based on Icinga2 services and reports the check status.
Requirements
- Python >= 3.8 (It might still run with older versions of Python 3)
- Python Packages
- dynaconf
- fastapi
- httpx
- jinja2
- pyyaml
- uvicorn
Installation
Docker
docker pull ghcr.io/dinotools/monitoring-prom2icinga2:main
docker run --rm -v ./config.yaml:/etc/prom2icinga2/config.yaml:ro ghcr.io/dinotools/monitoring-prom2icinga2:main
PIP
If you want to use pip we recommend to use as virtualenv to install the dependencies.
pip install -r requirements.txt
Debian/Ubuntu
Install the required packages
sudo apt-get install python3 ?? ToDo ??
From PyPI
Install the package from PyPI.
pip install prom2icinga2
Usage
python3 -m prom2icinga2.server:app --config config.yaml -vv
Resources
- Git-Repository: https://github.com/DinoTools/monitoring-prom2icinga2
- Issues: https://github.com/DinoTools/monitoring-prom2icinga2/issues
- Documentation: https://dinotools.github.io/monitoring-prom2icinga2
License
GPLv3+
Release files for prom2icinga2 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prom2icinga2-0.4.0.tar.gz | 81.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prom2icinga2-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.6 kB
Release files / prom2icinga2-0.4.0.tar.gz
| Download URL | prom2icinga2-0.4.0.tar.gz |
|---|---|
| Size | 81.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cff1721714b0e4be9d3fb8b6437ab957b9f5e7ce4ce9461db2c9d1870fbb50d3
|
|
BLAKE2b-256 checksum How to use checksums |
407e049c644e2ed946eacfa4125514d8bcb45b0de0970ba7046d4119cecc1c27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 3, 2025.
Transparency logRelease files / prom2icinga2-0.4.0-py3-none-any.whl
| Download URL | prom2icinga2-0.4.0-py3-none-any.whl |
|---|---|
| Size | 34.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc5eb643b9018bb0bf2ed67e8e6301ddf0a9bdb0209886f3f102dcf952e2dcc2
|
|
BLAKE2b-256 checksum How to use checksums |
17bb12c1922ae9c57a3bab0807bfdf9f604595cb4536b366a373246f0fc05028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 3, 2025.
Transparency log