You are here

Azure Recovery Services

Requires Opsview 6
check_circle
Opsview Supported

404: Not Found

Cloud - Azure - Backup and Site Recovery Opspack

#

Azure Backup and Site Recovery services is a Business Continuity and Disaster Recover (BCDR) strategy that keeps data safe, and keeps apps and workloads up and running, when planned or unplanned outages occur.

What You Can Monitor

Azure Backup and Site Recovery allows you to monitor various metrics for the Backup and Replication capabilities of a Recovery Services Vault in Azure. These metrics include the number of Replicated Items managed by a Vault, the health of Recovery Events, the status of all Backup and Recovery Jobs run by the machine and the results of a health report on the Vault.

Service Checks

Host Template Service Check Description
Cloud - Azure - Site Recovery Azure - Backup and Site Recovery - Recovery Events The number and status of Azure Recovery Services Replication Events [Default Timespan = 5mins, Granularity = 5mins]
Cloud - Azure - Site Recovery Azure - Backup and Site Recovery - Replicated Items The number of items covered by Azure Recovery Vault Replication [Default Timespan = 5mins, Granularity = 5mins]
Cloud - Azure - Site Recovery Azure - Backup and Site Recovery - Recovery Jobs The number and status of Azure Recovery Services Replication Jobs [Default Timespan = 5mins, Granularity = 5mins]
Cloud - Azure - Site Recovery Azure - Backup and Site Recovery - Vault Health The health status of an Azure Recovery Services Vault [Default Timespan = 5mins, Granularity = 5mins]
Cloud - Azure - Backup Azure - Backup and Site Recovery - Backup Jobs The number and status of backup jobs and information on the erroneous ones [Default Timespan = 5mins, Granularity = 5mins]

Prerequisites

Opsview Monitor Version 6.0.0 (released 07 September 2018) or newer. Check Opsview Release Notes for the latest version of Opsview Monitor.

Setup Azure for Monitoring

To monitor your Azure environment, you need to configure it for monitoring. This requires Administrator access on Azure.

You need to retrieve the following credentials, which will allow Opsview Monitor access to the metrics for your Azure VM:

  • Subscription ID
  • Tenant/Directory ID
  • Client/Application ID
  • Secret Key

Follow the below steps to retrieve this information.

Step 1: Find Subscription ID

The Subscription ID can be found in the Subscriptions section under the All services section from the Azure dashboard.

Find Azure Subscription ID

Find Azure Subscription ID

Step 2 : Find the Tenant/Directory ID

The Tenant/Directory ID can be found in the Azure Active Directory under the Properties section from the Azure dashboard.

Find Azure Tenant/Directory ID

Step 3: Find the Client/Application ID for your application

You need to create and register your application if you haven't already. Use the following documentation from Microsoft: Create an Azure Active Directory application

The Client/Application ID can be found in Azure Active Directory under the App registrations section from the Azure dashboard.

Find Azure Client/Application ID

Step 4: Generate the Secret Key for your application

You will need to create a Secret Key for your application, once this has been created its value will be hidden so save the value during creation.

To create the Secret Key, select your application from the list, select the Settings within your application and then select the Keys option.

There you can create a new key by adding the description and expiration period and the value will be generated.

Create Secret Key

Step 5: Provide access to the subscription you wish to monitor

Navigate to the Subscriptions section and select the Subscription you selected before.

In the Subscription to be monitored, click Access Control (IAM).

Then click the Add button, select the required role and select the application, once for each of the following roles: * Reader

Add Subscription to Application

Add Subscription to Application

If you are running more than one subscription these steps will need to be done for each one you wish to monitor.

Setup and Configuration

To configure and utilize this Opspack, you simply need to add the 'Cloud - Azure - Backup and Site Recovery' Opspack to your Opsview Monitor system.

Step 1: Add the Host Template

Add the relevant Host Template (as listed in the Service Checks table above). If this is a resource that is applicable for a host check (has a valid hostname or IP) then you can fill in the Primary Hostname/IP field with this, and then open the Advanced section at the bottom and change the Host Check Command type to TCP Port 80 (HTTP). If the resource has no hostname or public IP, then change Host Check Command to Always assumed to be UP.

For more information, refer to Opsview Knowledge Center - Adding Host Templates to Hosts.

Step 2: Add and configure variables required for this host

Add 'AZURE_CREDENTIALS' to the host, then override the Subscription ID, Client ID, Secret Key and Tenant ID to match the values retrieved earlier.

You may require the following additional variables, depending on any special requirements you may have:

Host Template Variables
Cloud - Azure - Site Recovery AZURE_RESOURCE_DETAILS, AZURE_VAULT_SETTINGS
Cloud - Azure - Backup AZURE_RESOURCE_DETAILS, AZURE_VAULT_SETTINGS

These can be filled out as follows:

AZURE_RESOURCE_DETAILS:

Add Variables

AZURE_VAULT_SETTINGS:

This variable is optional. If a Vault Timespan is not provided then a default of 1 day will be set. Timespan is limited between 1 and 7 days for the following service checks due to an API limitation.

  • Azure - Backup and Site Recovery - Recovery Jobs
  • Azure - Backup and Site Recovery - Recovery Events

Add Variables

For more information, refer to Opsview Knowledge Center - Adding Variables to Hosts.

Step 3: Apply changes and the system will now be monitored

View Output

v2.4-opsview-6

#

ODI-3136 Re-release Azure opspacks

v2.2-opsview-6

ODI-1833 Release Azure Backup and Site Recovery for Opsview Monitor 6.0

Backup and Site Recovery Opspack Release to work with Opsview Monitor 6.0