Microsoft Azure Monitoring

Microsoft Azure - An Overview

Microsoft Azure, formerly known as Windows Azure, is Microsoft's public cloud computing platform. It provides a range of cloud services, including those for compute, analytics, storage and networking. Users can pick and choose from these services to develop and scale new applications, or run existing applications, in the public cloud. 

Monitoring Microsoft Azure - What we do

Applications Manager's Microsoft Azure monitor enables users to discover Virtual machines under an Azure subscription and monitor them. You can also monitor the health and performance of your Azure Storage account for better managing and utilizing our Azure hosted storage resources.

Applications Manager connects with Azure Virtual Machines through Azure-sdk-for-java to determine the health status and other performance counters. With Microsoft Azure monitoring, you can:

  • Discover Azure Virtual machines under an Azure subscription.
  • Find the number of VMs that are provisioned and running.
  • View the status and configuration information of all the discovered resources.
  • Collect and monitor performance metrics(CPU, Memory, Disk, Network, Thread&Process count, .NetCLR metrics).
  • Collect and monitor Disk Utilization, Disk IO statistics, Network interface details by enabling Guest OS configuration.

Creating a new Microsoft Azure Monitor 

Prerequisites for monitoring Azure metrics: Click here

To create a new Azure monitor, follow the steps given below:

  1. Click on the New Monitor link in the Applications Manager web client.
  2. Select 'Microsoft Azure' under Cloud Apps category
  3. Specify the Display Name of Microsoft Azure monitor
  4. Enter the Subscription ID for your Microsoft Azure subscription.
  5. Choose the Discovery mode. Following are the 2 discovery modes available:
    • Discovery using Azure Organizational Account (Powershell): Provide the User email & Password fields in New monitor page with the Username & Password of the created Organizational account. Refer Prerequisites section.
    • Discovery using AD Application & Service Principal: Provide the Client ID, Tenant ID & Application key that were obtained in the above mentioned prerequisite step in the New monitor page. Refer Prerequisites section.
  6. Specify the polling interval in minutes and timeout in seconds
  7. Choose the Monitor Group from the combo box with which you want to associate Microsoft Azure monitor (optional). You can choose multiple groups to associate your monitor.
  8. Click Add Monitor(s). This discovers Microsoft Azure from the network and starts monitoring them.
Note:
  • Azure resources deployed using 'Azure Resource Manager(ARM)' model will be monitored by Applications Manager. Azure Resources deployed using Classic model are not supported.
  • Make sure you have a working internet connection to add or fetch data from the cloud services.
  • If your environment requires the use of a proxy server to access external Websites, you can configure the proxy settingsunder the 'Admin' tab.

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on Microsoft Azure under the Cloud Apps Table. Displayed is the Microsoft Azure bulk configuration view distributed into three tabs:

  • Availability tab gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Microsoft Azure monitor provides a brief detail of the Azure virtual machines under the given subscription. Click on the monitor name to see all the server details listed under the following tabs:

Monitor Information

Parameter  Description
Name Name of the Microsoft Azure monitor
Subscription ID Subscription ID of the Azure subscription
Azure services The services that are monitored under this subscription
Discovery mode The discovery mode chosen while creating the monitor
User Email The organizational account used to access Azure resources
Client ID Client ID of the Active Directory Application
Tenant ID Tenant ID of the Active Directory
Timeout Timeout Duration(seconds)
Total Azure Virtual Machines Provisioned Count of virtual machines under this subscription
Total Azure Virtual Machines Running Count of virtual machines in running state
Associated groups The monitor groups to which this monitor is associated
Last polled at Specifies the time at which the last poll was performed
Next poll at Specifies the time at which the next poll is schedule

Overview

Parameter Description
Total Azure Virtual Machines Provisioned Count of virtual machines under this subscription
Total Azure Virtual Machines Running Count of virtual machines in running state

Virtual Machines

Parameter Description
Virtual Machine Name Name of the Virtual machine
Status Virtual machine's state
Resource group name The Resource Group which has this Virtual Machine
OS Type The Operating System of the Virtual Machine
Location The Location where the Virtual Machine is located
Public IP Address IP address of the Virtual Machine

Storage Accounts

Parameter Description
Azure Standard Storage Accounts 
Storage Account Name The Azure Storage Account Name.
Provisioning State Provisioning state of Storage Account Possible values :
  • Invalid
  • Creating
  • Deleting
  • Succeeded
  • Failed
  • Cancelled
Resource Group Resource Group where the Storage Account is allocated in.
Location Region where the storage account is provisioned
Primary Status   Status of Storage Account. Possible Values:
  • Available
  • Unavailable

FAQs and Troubleshooting

Error Messages and how to troubleshoot them:

Error: "Authentication Failed. Access is denied for the provided Azure Organizational Account Credentials"

This error message is displayed upon adding a New Azure monitor using Mode 1. For troubleshooting steps, refer this link.

Error: "Azure Services discovery failed for subscription <subscriptionID>. Invalid Application key"

This error message is displayed upon editing a New Azure monitor using Mode 1. For troubleshooting steps, refer this link.

Error: "Azure Services discovery failed for subscription <subscriptionID>. Invalid Application key"

This error message is displayed upon editing a New Azure monitor using Mode 2. For troubleshooting steps, refer this link.

Error: "Connection to the database failed with error: Cannot open server <ServerName> requested by the login. Client with IP address <SomeIP> is not allowed to access the server.  To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range"

This error message is displayed in the monitor details page/Edit monitor page of Azure SQL Database monitor. For troubleshooting steps, refer this link.

Error: "Connection to the database failed with error: The TCP/IP connection to the host <Azure SQL server>, port 1433 has failed. Error: "Connection timed out: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall."

This error message is displayed in the monitor details page/Edit monitor page of Azure SQL Database monitor. For troubleshooting steps, refer this link.