Help Docs

Automation for Azure resources

Automation helps you reduce manual intervention while performing certain actions. For instance, you can use Site24x7's Azure automation feature to run specific resources only during particular time windows like business hours.

Required conditions:

The custom application used to create a Site24x7 Azure monitor should have a Contributor role over the resource. Only then can the custom application trigger an event in Azure.

How to setup Azure Automation

Follow the steps below to set up Azure Automation:

  1. Log in to your Site24x7 account.
  2. Choose Admin from the left navigation pane and then click IT Automation Templates (+).
  3. Click Add Automation Templates on the top right corner of the page.
  4. Choose the appropriate Azure action type from the Type drop-down menu.
  5. Enter the name for the Automation Template in the Display Name field.
  6. Select the automated action you want to perform through this Automation Template in the Choose the Action to be Automated field.
  7. Select the monitors from the Destination Monitors drop-down menu.
    This drop-down menu will list all the monitors belonging to the monitors that support automation actions. If this drop-down field is empty, make sure you have added monitors of the selected Azure resource type.
  8. Toggle the Send the Automation Result via Email option to Yes to receive email notifications.
  9. Click Save.

Once the Automation template has been successfully added, you can either schedule the IT Automation to run periodically or map the Automation Template to an existing Azure resource monitor.
Azure IT automation page

 

List of Azure automations supported:

Azure service Type Automation actions
Azure Virtual Machine
  • Start VM
  • Stop VM
  • Restart VM
  • Install server monitoring agent
Azure Data Factory Re-run failed Data Factory pipeline (for specific timeframe and pipeline)
Azure Logic Apps
  • Enable Logic App
  • Disable Logic App
  • Run Logic App trigger
  • Re-submit failed run
Azure Kubernetes Service
  • Start Kubernetes service
  • Stop Kubernetes service
  • Upgrade node image version
Azure Function App
  • Start Function App
  • Stop Function App
  • Restart Function App
Azure Data Explorer Cluster
  • Start Azure Data Explorer Cluster
  • Stop Azure Data Explorer Cluster
Azure Spring Apps
  • Start Azure Spring Apps
  • Stop Azure Spring Apps
Azure Web PubSub Restart Azure Web PubSub
Azure CosmosDB for PostgreSQL
  • Start Azure CosmosDB for PostgreSQL
  • Stop Azure CosmosDB for PostgreSQL
  • Restart Azure CosmosDB for PostgreSQL
Azure Virtual Machine Scalesets
  • Start Azure Virtual Machine Scalesets
  • Stop Azure Virtual Machine Scalesets
  • Restart Azure Virtual Machine Scalesets

 

Related links

Was this document helpful?

Shortlink has been copied!