Browse Apps

aa-healthcheck


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

No reviews yet...

Python Requirements

  • allianceauth>=5
  • coverage; extra == "tests-allianceauth-latest"
  • django-webtest; extra == "tests-allianceauth-latest"

Required Python packages to be installed and other Python requirement.

App Dependencies


Required apps:

    -


Used by apps:

    -

Dependencies to other apps registered in this app directory.

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Framework :: Django :: 4.2
  • Framework :: Django :: 5.2
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU General Public License v3 (GPLv3)
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Topic :: Internet :: WWW/HTTP
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content

Version

0.1.0

License

GPLv3

Homepage

  https://gitlab.com/astrum-mechanica/aa-healthcheck

PyPI

  https://pypi.org/project/aa-healthcheck/

Last updated

3 weeks, 4 days ago

First published

3 weeks, 4 days ago

Category

Plugin Apps

Rating

-

Authors

"Swashman(John Nelson)"

Maintainers

-

Please login to see more options.