You can associate automation to every performance metric like CPU, memory, disk usage, and resource check profile via the Edit Threshold Profile form. Please follow the steps below to associate automation(s) to a resource check profile:
- Log in to Site24x7.
- Go to Server > Server Monitor > Servers > click on the server monitor which has the resource check profile associated.
- Hover on the hamburger icon beside the display name and click Edit.
- In the Edit Server Monitor page, scroll down to Configuration Profiles, and click on the pencil icon beside Threshold and Availability.
- In the Edit Threshold Profile form, toggle Yes for the option Alert when a resource check fails. Select the desired alert type, either as Down, Trouble, or Critical. Then, select and associate automations from the drop-down.
- Save your changes.
This would ensure that the associated automation is executed when the resource check profile fails. Please note that this would apply for the entire resource check profile, and not for a single resource check.
For associating an automation to a single resource check, we will take this up as a feature enhancement request and update it here once it's live. You can also write a custom plugin script according to your requirement.
Hope this helps. Please let us know for further queries, if any, in the below thread.