Checks the health of the Mautic instance, optionally reporting to statuspage.io.
This is currently used to find out if certain cron jobs are overdue or overtaxed. There are likely many other things that can be checked to discern the health of Mautic. For example, RAM, hard drive utilization, CPU, connectivity, email spool size. Suggestions? Let us know. PRs are also welcome.
Checks currently included:
- mautic:campaigns:update
- mautic:campaigns:trigger
Currently being tested with Mautic 2.14.x
.
If you have success/issues with other versions please report.
- Install by running
composer require thedmsgroup/mautic-health-bundle
(or by extracting this repo to/plugins/MauticHealthBundle
) - Go to
/s/plugins/reload
- Click "Health" and configure as desired.
- Add the cron task to run the health check as often as desired (Every 15 minutes recommended):
5,20,35,50 * * * * php /path/to/mautic/app/console mautic:health:check