No project description provided
Project description
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+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prom2icinga2-0.4.0.tar.gz.
File metadata
- Download URL: prom2icinga2-0.4.0.tar.gz
- Upload date:
- Size: 81.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cff1721714b0e4be9d3fb8b6437ab957b9f5e7ce4ce9461db2c9d1870fbb50d3
|
|
| MD5 |
3ad0a5d1dc7a6c219597c56ff3a1818d
|
|
| BLAKE2b-256 |
407e049c644e2ed946eacfa4125514d8bcb45b0de0970ba7046d4119cecc1c27
|
Provenance
The following attestation bundles were made for prom2icinga2-0.4.0.tar.gz:
Publisher:
pypi.yml on DinoTools/monitoring-prom2icinga2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prom2icinga2-0.4.0.tar.gz -
Subject digest:
cff1721714b0e4be9d3fb8b6437ab957b9f5e7ce4ce9461db2c9d1870fbb50d3 - Sigstore transparency entry: 176243425
- Sigstore integration time:
-
Permalink:
DinoTools/monitoring-prom2icinga2@3c0b6d1c113d520a7f75895694d99cb02ed44267 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/DinoTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@3c0b6d1c113d520a7f75895694d99cb02ed44267 -
Trigger Event:
push
-
Statement type:
File details
Details for the file prom2icinga2-0.4.0-py3-none-any.whl.
File metadata
- Download URL: prom2icinga2-0.4.0-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc5eb643b9018bb0bf2ed67e8e6301ddf0a9bdb0209886f3f102dcf952e2dcc2
|
|
| MD5 |
6a827183add3916256b2ec8de8758bbc
|
|
| BLAKE2b-256 |
17bb12c1922ae9c57a3bab0807bfdf9f604595cb4536b366a373246f0fc05028
|
Provenance
The following attestation bundles were made for prom2icinga2-0.4.0-py3-none-any.whl:
Publisher:
pypi.yml on DinoTools/monitoring-prom2icinga2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prom2icinga2-0.4.0-py3-none-any.whl -
Subject digest:
fc5eb643b9018bb0bf2ed67e8e6301ddf0a9bdb0209886f3f102dcf952e2dcc2 - Sigstore transparency entry: 176243427
- Sigstore integration time:
-
Permalink:
DinoTools/monitoring-prom2icinga2@3c0b6d1c113d520a7f75895694d99cb02ed44267 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/DinoTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@3c0b6d1c113d520a7f75895694d99cb02ed44267 -
Trigger Event:
push
-
Statement type: