Skip to main content

No project description provided

Project description

AA Healthcheck

Badge: Version Badge: License Badge: Supported Python Versions Badge: Supported Django Versions Badge: pre-commit Badge: pre-commit.ci status Badge: Code Style: black Badge: Automated Tests Badge: Code Coverage

A healthcheck/heartbeat app for Alliance Auth

Features

Ping healthcheck.io every 5 minutes, which will alert when a ping isn't received.

Future Features

  • uptime kuma support

Installation

  • healthcheck is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official Alliance Auth installation guide for details)
pip install aa-healthcheck
  • Create a healthcheck.io account and associated check, copy the given ping URL

Configure your Auth settings (local.py) as follows:

  • Add 'healthcheck' to INSTALLED_APPS
  • Add the following lines to your settings file:
HEALTHCHECK_URL = "https://hc-ping.com/"  # Replace with your healthchek.io url
if "healthcheck" in INSTALLED_APPS:
    # Run every 5 minutes
    CELERYBEAT_SCHEDULE["Healthcheck :: Heartbeat"] = {
        "task": "skyhooks.tasks.update_skyhooks",
        "schedule": crontab(minute="*/5"),
    }

There are curently no migrations or static files

  • Restart your supervisor services for Auth

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

aa_healthcheck-0.1.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

aa_healthcheck-0.1.0-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file aa_healthcheck-0.1.0.tar.gz.

File metadata

  • Download URL: aa_healthcheck-0.1.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for aa_healthcheck-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01359852ecdd481d90638354301d2a9e7c2e17073220c0fdb4a171c9bb355881
MD5 cd44dcde5f61c16516186a15bdc97a7c
BLAKE2b-256 58a9e80ac010efb519c569eb8226c9b4b2020f477425bc18ec99ff3588faf17d

See more details on using hashes here.

File details

Details for the file aa_healthcheck-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aa_healthcheck-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for aa_healthcheck-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d29331f3db00ed1b68d18c7f0a74af7c9618a42e0865023750e7439634ee9c92
MD5 3478e00daae702102ba7213c29169fc7
BLAKE2b-256 4a40f73b764ac2a445cb549a5850a36a9c13d0ae3dbecb8db43911b6a7bd13d8

See more details on using hashes here.

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