Deprecation Notice
This template and all associated files have been deprecated. Please use Azure Virtual Machine Scale Set - Application Monitor Templates - Server & Application Monitor
This template contains performance & statistics counters for monitoring Azure Virtual Machine.
Prerequisites:
- PowerShell module (Azure, AzureRM) must be installed prior to running this template
- To connect with Azure account following parameter are required: subcriptionID, ApplicationID, TenantID, Secret Key, Resource Group Name
Note: Any Azure App (with its name & ID) having minimum role as 'Read Only'.
- Virtual Machine name for which metrics must be calculated.
- PowerShell version 5.0 or later.
Credentials:
Login credential to access Azure Portal. This has to be passed as script arguments per prerequisites 2 above. e.g. <subscriptionID>, <TenantID>, <ApplicationID>, value=<Secret Key>, <Virtual Machine Name>,<ResourceGroupName>
Optional Parameters which can be passed to script argument:
- value=<Time Interval> - for which data must be fetched (in mins). Default is 10 mins.
- No. of retries as the second last argument (Default is 3)
- WaitTime as the last argument (Default is 0.5 seconds)
Notes:
- To install Azure module, execute below powershell commands;
Install-Module -Name Azure
Install-Module -Name AzureRM
- Windows Administrator on the machine where template would be running against. Script should run with administration privilege
- The ApplicationID with which you are making a connection to Azure portal (as mentioned in Credential/Prerequisites) must be registered in Azure Active Directory as contributor role for the monitored application.
Reference link: https://support.solarwinds.com/Success_Center/Server_Application_Monitor_(SAM)/Knowledgebase_Articles/Add_an_Azure_Active_Directory_app_for_cloud_monitoring_in_the_Orion_Platform
- This template was tested with AzureRM Module 6.9.0
Portions of this document were originally created by and are excerpted from the following sources:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/overview
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-supported-metrics
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-create-vmss
MONITORED COMPONENTS
Disk Read Bytes/Sec
This monitor provides the total bytes read from disk during monitoring period for the given Virtual machine via PowerShell cmd-let.
Unit: Bytes
Disk Read Operations/Sec
This monitor provides the average Disk Read Operations per sec for the given Virtual machine via PowerShell cmd-let.
Unit: CountPerSecond
Disk Write Bytes/Sec
This monitor provides the total bytes written to disk during monitoring period for the given Virtual Machine via PowerShell cmd-let.
Unit: Bytes
Disk Write Operations/Sec
This monitor provides the average Disk Write Operations per sec for the given Virtual machine via PowerShell cmd-let.
Unit: CountPerSecond
Network Incoming Traffic
This monitor provides the total number of bytes received on all network interfaces for the given Virtual Machine (Incoming Traffic) via PowerShell cmd-let.
Unit: Bytes
Network Outgoing Traffic
This monitor provides the total number of bytes out on all network interfaces by the given Virtual Machine (Outgoing Traffic).
Unit: Bytes
Percentage CPU
This monitor provides the average percentage of allocated compute units that are currently in use by the given Virtual Machine via PowerShell cmd-let.
Unit: Percent