Azure Service Bus
  • 18 Oct 2018
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Azure Service Bus

  • Dark
    Light
  • PDF

Article Summary

In this article, we will take a detailed look at the end-to-end working scenario of setting up a Azure Service Bus Queue monitoring with a real time scenario. The following will be discussed:

  • How to assign permission for user(s) to manage Azure Service Bus Queues
  • End-to-end scenario of monitoring Azure Service Bus queue

How to assign permission to manage Azure Service Bus Queues

By default, only Super Users have permissions to grant access to set up monitoring in BizTalk360. For Normal users, in order to be able to access the queues section and set up monitoring on Azure Service Bus Queues, a super user needs to grant the permissions under the User Access Policy section in BizTalk360 Settings.

Follow the steps as shown below to grant access permissions to a normal user:

  • Log in to BizTalk360 (as a Super User)
  • Click the Settings icon at the top right corner of the window

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Settings.png

  • Select User Access Policy from the left navigation menu. Create a new user by clicking the New button

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Create-New-User.png

  • Enter the user name, domain name, and select the environment for which the user will have access (say, Testing/Staging/Non-Production). Click Next

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Create-New-User2.png

  • Choose the Applications for which the user will have permissions and click Next
  • In the User Access (module wise) section, enable the toggle for Monitoring section. This will open up the options available under the monitoring section
  • Select, at least, Manage Alarm
  • Now, select the Azure Services check box in order for the normal user to have access to Azure Services section. You can also select the other sections/features that the user will have access to by selecting the check boxes.
  • Click OK to save the user permissions

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Select-Azure-Services.png

  • The user will get saved within BizTalk360

BizTalk360-Monitoring-Queues-Azure-Service-Bus-User-Access-Policy-Overview.png

Setting up monitoring Azure Service Bus Queues

  • Log into BizTalk360
  • Click 'Monitoring' on top of the left Navigation menu
  • Click the expand button against the Manage Mapping and select Queues
  • Select the Alarm name (see Creating an alarm) from the drop down which you would like to associate the queue for monitoring

BizTalk360-Monitor-Azure-ServiceBus-Queues.png

  • Select the Azure Service Bus Queues tab
  • Click New Queue to open the Add New Queue blade

BizTalk360-Monitor-New-Azure-ServiceBus-Queues.png

  • Enter the following fields: NameSpace ConnectionString - Connectionstring of the namespace which contains the Service Bus Queue which needs to be monitored Queue Name - The name of the Service Bus Queue which needs to be monitored Message Age Units - This metric configuration allows you to choose the time parameter (Day/Hour/Minutes/Seconds) for finding the duration of message that exist in the queue.

  • Configure the conditions for threshold alerts under Queue Configurations

While creating a rule in Queue monitoring, You can add up to 5 conditions for alert thresholds based on your needs. For each condition you add, you can create 2 sub-conditions (AND/OR).

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Monitoring-Rules.png

  • Click Save Configurations to create monitoring for the Queue

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Save-Configurations.png

  • The monitoring dashboard will reflect the health of the Queue

BizTalk360-Monitoring-Queues-Azure-Service-Bus-Monitoring-Dashboard.png

  • In order to receive email notifications from BizTalk360 on the threshold violation alerts (and auto correction alerts), you need to configure the SMTP settings under BizTalk360 Settings. Follow the steps in this article to be able to configure the SMTP settings in BizTalk360. You will receive an email notification with the exact details of the status of the Azure Service Bus Queues

EmailTemplateAzure.png


Was this article helpful?

What's Next
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses