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.4.0.tar.gz (81.6 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.4.0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

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

Hashes for prom2icinga2-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cff1721714b0e4be9d3fb8b6437ab957b9f5e7ce4ce9461db2c9d1870fbb50d3
MD5 3ad0a5d1dc7a6c219597c56ff3a1818d
BLAKE2b-256 407e049c644e2ed946eacfa4125514d8bcb45b0de0970ba7046d4119cecc1c27

See more details on using hashes here.

Provenance

The following attestation bundles were made for prom2icinga2-0.4.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.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

Hashes for prom2icinga2-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc5eb643b9018bb0bf2ed67e8e6301ddf0a9bdb0209886f3f102dcf952e2dcc2
MD5 6a827183add3916256b2ec8de8758bbc
BLAKE2b-256 17bb12c1922ae9c57a3bab0807bfdf9f604595cb4536b366a373246f0fc05028

See more details on using hashes here.

Provenance

The following attestation bundles were made for prom2icinga2-0.4.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