Elabore Manage monitoring Script
This allow to handle alerting and monitoring using cron scripts + send function from myc-manage
Warning : your server should be under myc-manage administration to have the send function installed
Usage :
- Clone the repo in
/opt/appson your server - run the script in
bin/elab-manage-install
Then each time you want to update this repos : elab-update from the server
Adding a new script
Take exemple on the simples scripts that are in cron.daily or cron.hourly and make your own
How it works
The core idea behind Elab Update is that when you need to introduce a new supervision script across all client servers, the workflow is:
- Create the script in Elab Manage and test it on a dev server
- Validate it works as expected
- Introduce it properly — with the cron job pointing to the script located in
bin/ - Deploy — the next
myc-updateon any server where Elab Manage is correctly installed will trigger Elab Update, which updates the scripts and propagates the new ones across the entire server fleet.
In short: once a new script is merged into Elab Manage, it spreads contagiously to all servers on their next myc-update.
Description
Languages
Shell
100%