Skip to main content

No project description provided

Project description

Prometheus to Icinga2 Checks

GitHub issues GitHub forks GitHub stars GitHub license Documentation PyPI - Downloads PyPI - Python Version PyPI - Format PyPI - Status

[!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

License

GPLv3+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prom2icinga2-0.3.0.tar.gz (80.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prom2icinga2-0.3.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file prom2icinga2-0.3.0.tar.gz.

File metadata

  • Download URL: prom2icinga2-0.3.0.tar.gz
  • Upload date:
  • Size: 80.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for prom2icinga2-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dbd820abd81f440c1333bae85c978b7c66c4bf8e4110fe9d3d4a49488bab8b5d
MD5 9720ac5b79af3fe11c23a5480c62fc46
BLAKE2b-256 19d66766f4f55346376cacd990470e4cbee68740fd60ed159386bafc4e757ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for prom2icinga2-0.3.0.tar.gz:

Publisher: pypi.yml on DinoTools/monitoring-prom2icinga2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prom2icinga2-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: prom2icinga2-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for prom2icinga2-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37de9c463c08f809b2137560535d707711756cdc8736ba0c071770a5f8d87e7e
MD5 854b055a680f4675e2d78b245d722ac0
BLAKE2b-256 6cb64208015fcf16f95b69e442cb03a1b493e58f719cf61a5921ef6f2ec98162

See more details on using hashes here.

Provenance

The following attestation bundles were made for prom2icinga2-0.3.0-py3-none-any.whl:

Publisher: pypi.yml on DinoTools/monitoring-prom2icinga2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page