Microsoft Azure Event Hub Namespace
Use this SAM application monitor template to monitor Microsoft Azure Event Hubs performance and statistics counters, including requests, messages, errors, connections and traffic.
Passwords for legacy Microsoft Azure application monitor templates and related application monitors are stored as plain text in the SolarWinds Platform database. SolarWinds recommends switching to Microsoft Azure API poller templates that leverage OAuth 2.0 authorization.”
Prerequisites
-
PowerShell module (Azure, AzureRM) is installed before using this template.
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 SubscriptionID, ApplicationID, TenantID, and Secret Key.
Any Azure App (with its name and ID) having minimum role as Read Only -
Namespace for which metrics are being calculated.
- PowerShell 5.0 or later.
Credentials
- Login credential to access the Azure Portal, passed as script arguments per prerequisites (<SubscriptionID>, <TenantID>, <ApplicationID>, value=<Secret Key>, <Namespace Name>).
- Optional parameters can be passed to script argument:
- value=<Time Interval> - during which data must be fetched, in minutes. The default is 1 hour.
- Number of retries as the second last argument; the default is 3.
- WaitTime as the last argument; the default is 0.5 seconds
Notes
- Run scripts with Administrator privilege on target system.
- The ApplicationID with which you are connecting to the Azure portal must be registered in Azure Active Directory as contributor role for the monitored application. See Add an Azure Active Directory app for cloud monitoring in the SolarWinds Platform.
- For reference, see
- Create an event hub using Azure PowerShell
- Supported metrics with Azure Monitor. (© 2019 Microsoft Corp., available at https://docs.microsoft.com, obtained on May 8, 2019)
- This template was tested with AzureRM Module 6.9.0.
Component monitors
Archive backlog messages
This monitor provides the total Archive messages in backlog for the given namespace via PowerShell cmd-let.
Unit: Count
Archive message throughput
This monitor provides total Event Hub archived message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Archive messages
This monitor provides total Event Hub archived messages for the given namespace via PowerShell cmd-let.
Unit: Count
Incoming Bytes
This monitor provides the total Event Hub incoming message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Outgoing bytes
This monitor provides the total Event Hub outgoing message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Incoming Messages
This monitor provides the total incoming messages for the given namespace via PowerShell cmd-let.
Unit: Count
Incoming Requests
This monitor provides the Total incoming send requests for the given namespace via PowerShell cmd-let.
Unit: Count
Internal Server Errors
This monitor provides the Total internal server errors for the given namespace via PowerShell cmd-let.
Unit: Count
Other Errors
This monitor provides the total failed requests for the given namespace via PowerShell cmd-let.
Unit: Count
Outgoing Messages
This monitor provides the total outgoing messages for the given namespace via PowerShell cmd-let.
Unit: Count
Successful Requests
This monitor provides the total successful requests for the given namespace via PowerShell cmd-let.
Unit: Count
Server Busy Errors
This monitor provides the Total server busy errors for the given namespace via PowerShell cmd-let.
Unit: Count