Repository navigation
Releases
Releases · moodle-observability/moodle-tool_healthcheck
tool_healthcheck 0.1.0
First release (alpha).
live.php: liveness endpoint that stops right afterconfig.php(no database).ready.php: readiness endpoint checking the database, writable moodledata, the application cache and the session
handler; optional core status checks;503with a failed database even when the Moodle setup fails.- Token in
config.php($CFG->tool_healthcheck_token), sent asAuthorization: Bearer. - JSON response with the status and time of each check; error messages only when enabled.
- Checks without side effects (fixed probe name per node, removed in
finally). readiness_checkshook for checks of other plugins.- Examples for Kubernetes, HAProxy and Nginx; comparison with tool_heartbeat.
Installation
Download tool_healthcheck-0.1.0.zip (root folder healthcheck) and install it at Site administration > Plugins > Install plugins, then run the Moodle upgrade.