Add monitoring module to keep a track of fails like cron / elasticsearch / ldap

Bug #1860380 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

To allow external monitoring systems check if certain functions/systems in Mahara are running smoothly or not.

This way we can keep a track of the 'health' of a sites and get alerted if attention is needed.

Tags: newfeature
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10722

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/10811

Changed in mahara:
milestone: 20.04.0 → 20.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10722
Committed: https://git.mahara.org/mahara/mahara/commit/1a5c984bcde9757ed7c6f6212c1cb388e9eff6c0
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1a5c984bcde9757ed7c6f6212c1cb388e9eff6c0
Author: Robert Lyon <email address hidden>
Date: Tue Jan 21 10:32:07 2020 +1300

Bug 1860380: Adding monitoring module

That can report on
- cron
- elasticsearch
- ldap

behatnotneeded

Change-Id: I511d3913de9db7dc79caeeec22a134f72ccca9c9
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/10811
Committed: https://git.mahara.org/mahara/mahara/commit/4a0f29b69ced3804a3d1c59865eae8dc588879ce
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 4a0f29b69ced3804a3d1c59865eae8dc588879ce
Author: Robert Lyon <email address hidden>
Date: Mon Mar 9 11:27:19 2020 +1300

Bug 1860380: Adjusting monitoring module

So that the ecs versions of the tests can
- take parameters from browser URL
- checks for a whitelisted IP or the urlsecret (if set)

Whitelist IPs be set via config.php file, eg
$cfg->plugin_module_monitor_allowedips = '123.45.67.89,123.45.67.90';

Or via the plugin's extenstion -> config form

Change-Id: I819722ddbb9b04eb9283e2d59b920f1c4f1e586c
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: newfeature
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.