The process of 'auto healing' refers to a script being triggered to run when a threshold level is exceeded (e.g. a high memory usage alert, due to a web browser process). The purpose of the script is to heal or fix the problem.
Notes
- You must first create, upload, or generate a script to Atera before selecting the 'Run Script' option.
- When an alert containing an auto-healing script is triggered, the script will execute as soon as possible. You can view the output of the script on the Alerts page. Simply locate the alert and click the drop-down arrow to see the results.
Attach an auto-healing script to a threshold item
1. From Admin (on the side panel), click Thresholds.
The Threshold Profiles page appears
2. Click on the individual profile, and select New item.
3. Select the Custom tab, and customize the threshold item:
- You can give the threshold item a 'friendly name', which will appear on the alerts (optional).
- Select the type, from the Category menu.
- Select the severity, from the Alert Severity menu.
- Select the parameters (changes depending on the item selected).
4. Click Select (under Run Script), to select the script.
The Select Script screen appears.
5. Click Select next to the script you wish to use.
6. Then click Add, and make sure to save the Threshold Profile.
If the Threshold Profile is already assigned to a customer, then the auto-healing script is active and will run on the customer device(s) when the specified threshold parameters are met.
If the Threshold Profile is not assigned to a customer, you must assign it.
If the Threshold Profile is already assigned to a site, then the auto-healing script is active and will run on the site's device(s) when the specified threshold parameters are met.
If the Threshold Profile is not assigned to a site, you must assign it.
Check out this video that explains how to add a script to a Threshold profile.