|
| 1 | +--- |
| 2 | +title: Monitor Azure Site Recovery |
| 3 | +description: Start here to learn how to monitor Azure Site Recovery. |
| 4 | +ms.date: 03/21/2024 |
| 5 | +ms.custom: horz-monitor |
| 6 | +ms.topic: conceptual |
| 7 | +ms.author: ankitadutta |
| 8 | +author: ankitaduttaMSFT |
| 9 | +ms.service: site-recovery |
| 10 | +--- |
| 11 | + |
| 12 | +# Monitor Azure Site Recovery |
| 13 | + |
| 14 | +[!INCLUDE [horz-monitor-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)] |
| 15 | + |
| 16 | +## Built-in monitoring for Azure Site Recovery |
| 17 | + |
| 18 | +An Azure Recovery Services vault supports both Azure Site Recovery and Azure Backup services and features. In the Azure portal, the **Site Recovery** tab of the Recovery Services vault **Overview** page provides a dashboard that shows the following monitoring information: |
| 19 | + |
| 20 | +- Replication health |
| 21 | +- Failover health |
| 22 | +- Configuration issues |
| 23 | +- Recovery plans |
| 24 | +- Errors |
| 25 | +- Jobs |
| 26 | +- Infrastructure view of machines replicating to Azure |
| 27 | + |
| 28 | +For a detailed description of how to monitor Azure Site Recovery in the Azure portal by using the Recovery Services dashboard, see [Monitor in the dashboard](site-recovery-monitor-and-troubleshoot.md#monitor-in-the-dashboard). |
| 29 | + |
| 30 | +Azure Backup Center also provides at-scale monitoring and management capabilities for Azure Site Recovery. For more information, see [About Backup center for Azure Backup and Azure Site Recovery](/azure/backup/backup-center-overview). |
| 31 | + |
| 32 | +### Monitor churn rate |
| 33 | + |
| 34 | +High data change rates (churn) are a common source of replication issues. You can use various tools, including Azure Monitor Logs, to monitor churn patterns on virtual machines. For more information, see [Monitor churn patterns on virtual machines](monitoring-high-churn.md). |
| 35 | + |
| 36 | +[!INCLUDE [horz-monitor-resource-types](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)] |
| 37 | + |
| 38 | +Azure Site Recovery shares the `Microsoft.RecoveryServices/Vaults` namespace with Azure Backup. For more information, see [Azure Site Recovery monitoring data reference](monitor-site-recovery-reference.md). |
| 39 | + |
| 40 | +[!INCLUDE [horz-monitor-data-storage](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)] |
| 41 | + |
| 42 | +[!INCLUDE [horz-monitor-platform-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)] |
| 43 | + |
| 44 | +There are no automatically collected platform metrics for Azure Site Recovery. All the automatically collected metrics for the `Microsoft.RecoveryServices/Vaults` namespace pertain to the Azure Backup service. For information about Azure Backup metrics, see [Monitor the health of your backups using Azure Backup Metrics (preview)](/azure/backup/metrics-overview). |
| 45 | + |
| 46 | +[!INCLUDE [horz-monitor-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)] |
| 47 | + |
| 48 | +### Azure Site Recovery resource logs |
| 49 | + |
| 50 | +Using Azure Monitor Logs with Azure Site Recovery is supported for **Azure to Azure** replication and **VMware VM/physical server to Azure** replication. |
| 51 | + |
| 52 | +You can use Azure Monitor Logs to monitor: |
| 53 | + |
| 54 | +- Replication health |
| 55 | +- Test failover status |
| 56 | +- Site Recovery events |
| 57 | +- Recovery point objectives (RPOs) for protected machines |
| 58 | +- Disk/data change rates (churn) |
| 59 | + |
| 60 | +For detailed instructions on using diagnostic settings to collect and route Site Recovery logs and events, see [Monitor Site Recovery with Azure Monitor Logs](monitor-log-analytics.md). |
| 61 | + |
| 62 | +To get churn data and upload rate logs for VMware and physical machines, you need to install a Microsoft monitoring agent on the process server. This agent sends the logs of the replicating machines to the workspace. |
| 63 | + |
| 64 | +For instructions, see [Configure Microsoft monitoring agent on the process server to send churn and upload rate logs](monitor-log-analytics.md#configure-microsoft-monitoring-agent-on-the-process-server-to-send-churn-and-upload-rate-logs). For more information about monitoring the process server and the health alerts it generates, see [Monitor the process server](vmware-physical-azure-monitor-process-server.md). |
| 65 | + |
| 66 | +- For more information about the resource logs collected for Site Recovery, see [Common questions about Azure Site Recovery monitoring](monitoring-common-questions.md#azure-monitor-logging). |
| 67 | +- For the available resource log categories, associated Log Analytics tables, and logs schemas for Azure Site Recovery, see [Site Recovery monitoring data reference](monitor-site-recovery-reference.md#resource-logs). |
| 68 | + |
| 69 | +[!INCLUDE [horz-monitor-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)] |
| 70 | + |
| 71 | +[!INCLUDE [horz-monitor-analyze-data](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-analyze-data.md)] |
| 72 | + |
| 73 | +[!INCLUDE [horz-monitor-external-tools](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-external-tools.md)] |
| 74 | + |
| 75 | +[!INCLUDE [horz-monitor-kusto-queries](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-kusto-queries.md)] |
| 76 | + |
| 77 | +### Example queries |
| 78 | + |
| 79 | +For example Kusto queries you can use for Site Recovery monitoring, see [Query the logs - examples](monitor-log-analytics.md#query-the-logs---examples). |
| 80 | + |
| 81 | +[!INCLUDE [horz-monitor-alerts](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)] |
| 82 | + |
| 83 | +You can set up alerts for any log entry listed in the [Azure Site Recovery monitoring data reference](monitor-site-recovery-reference.md). For example, you can configure alerts for machine health, test failover status, or Site Recovery job status. |
| 84 | + |
| 85 | +For detailed query examples and scenarios you can use for setting up Site Recovery alerts, see [Set up alerts - examples](monitor-log-analytics.md#set-up-alerts---examples). |
| 86 | + |
| 87 | +### Built-in Azure Monitor alerts for Azure Site Recovery |
| 88 | + |
| 89 | +Azure Site Recovery provides default alerts via Azure Monitor as a preview feature. Once you register this feature, Azure Site Recovery surfaces a default alert via Azure Monitor whenever any of the following critical events occur: |
| 90 | + |
| 91 | +- Enable disaster recovery failure alerts for Azure VM, Hyper-V, and VMware replication. |
| 92 | +- Replication health critical alerts for Azure VM, Hyper-V, and VMware replication. |
| 93 | +- Azure Site Recovery agent version expiry alerts for Azure VM and Hyper-V replication. |
| 94 | +- Azure Site Recovery agent not reachable alerts for Hyper-V replication. |
| 95 | +- Failover failure alerts for Azure VM, Hyper-V, and VMware replication. |
| 96 | +- Auto certification expiry alerts for Azure VM replication. |
| 97 | + |
| 98 | +For detailed instructions on enabling and configuring these built-in alerts, see [Built-in Azure Monitor alerts for Azure Site Recovery (preview)](site-recovery-monitor-and-troubleshoot.md#built-in-azure-monitor-alerts-for-azure-site-recovery-preview). Also see [Common questions about built-in Azure Monitor alerts for Azure Site Recovery](monitoring-common-questions.md#built-in-azure-monitor-alerts-for-azure-site-recovery). |
| 99 | + |
| 100 | +[!INCLUDE [horz-monitor-advisor-recommendations](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-advisor-recommendations.md)] |
| 101 | + |
| 102 | +## Related content |
| 103 | + |
| 104 | +- See [Site Recovery monitoring data reference](monitor-site-recovery-reference.md) for a reference of the metrics, logs, and other important values created for Site Recovery. |
| 105 | +- See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for general details on monitoring Azure resources. |
0 commit comments