This SAM template contains performance and statistics counters for monitoring Azure App Services.
Note: This template was updated on March 12, 2020, to fix an issue with the Average response time component monitor. Unexpected return codes caused nodes to switch to an Unknown status. If using SAM 6.9 or later, import this template into SAM via the Shared Templates on THWACK tab on the Manage Templates page, as described in Import and export SAM templates. Fresh installations of future SAM releases will include the updated template.
PowerShell module (Azure, AzureRM) and PowerShell 5.1 or later are installed on the target node.
To install the Azure module, execute these PowerShell commands:
Install-Module -Name Azure
Install-Module -Name AzureRM
To connect with the Azure account, you'll need the subcriptionID, ApplicationID, TenantID, and Secret Key. Any Azure App (with its name and ID) with minimum role of 'Read Only'.
The Application name for which metrics are being calculated.
Login credential to access the Azure Portal, passed as script arguments per prerequisites (<subscriptionID>, <TenantID>, <ApplicationID>, value=<Secret Key>, <Application Name>).
Optional parameters can be passed to script argument:
value=<Time Interval> - during which data must be fetched, in minutes. The default is 10 minutes.
Number of retries as the second last argument; the default is 3.
WaitTime as the last argument; the default is 0.5 seconds
Run scripts with Administrator privilege on target system.
The ApplicationID with which you are connecting to Azure portal must be registered in Azure Active Directory as contributor role for the monitored application.
Script fetch data based on time range given in last script arguments. By default, script fetch data for past 1 hour. While giving time range make sure data is available for the metric at that time otherwise component will unable to fetch data.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community.
More than 150,000 members are here to solve problems, share technology and best practices, and directly
contribute to our product development process.
Learn more today by joining now.