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.


Let's say you wish to monitor the Azure Service Bus Queue from your Azure subscriptions. As an administrator you wish to monitor the health of the Queue based on the following conditions and get notified on threshold violations

  • Warn, when there are more than 50 Scheduled Messages in the Queue or the Active Messages count in the Queue is less than 75
  • Receive an error when the Message count is less than 100 and Queue Status is disabled 

The first and foremost step in Queue Monitoring is to create an alarm and map the alarm for Queue monitor alerts. Click here to understand the process of creating an alarm.

  1. Log into the BizTalk360 application
  2. Click 'Monitoring' in the navigation panel

    biztalk360 application monitoring navigation panel

  3. Click the expand button against 'Manage Mapping' tab and select 'Queues'

    biztalk360 queues monitoring dashboard

  4. Select the Alarm name (see Creating an alarm) from the drop down for which you would like to associate the alerts

    azure service bus queues monitoring alarms

  5. Select the Azure Service Bus Queues tab
  6. Click New Queue to open the Add New Queue blade

    add new queue to biztalk360 queue monitoring list

  7. Enter the NameSpace ConnectionString and Queue Name

    namaspace connection spring details in biztalk360 queues monitoring

  8. Configure the conditions for threshold alerts under Queue Configurations. 
  9. 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).

    queue configuration settings for msmq monitoring

  10. Click Save Configurations to create monitoring for the Queue

    saving queue configurations for msmq monitoring

  11. The monitoring dashboard will reflect the health of the Queue

    azure service bus queue monitoring alarms dashboard

  12. 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.

    azure service bus queue monitoring environment details