---
title: "Configure Azure Service Bus Monitoring: Add, Enable, Disable, Remove, Set Thresholds, Authentication"
description: Easily configure and manage Azure Service Bus monitoring in Nodinite. Add, enable, disable, or remove subscriptions, set queue and topic thresholds, manage resource groups, and authenticate securely for robust, flexible, and proactive monitoring.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/28):

# :fa-edit: Configuring Service Bus

Unlock the full potential of your [Azure Service Bus][] monitoring with :Nodinite:. This guide empowers you to efficiently add, enable, disable, or remove subscriptions, set precise queue and topic thresholds, manage resource groups, and authenticate securely for robust, flexible, and proactive monitoring.

✅ Add, enable, disable, or remove Azure Service Bus subscriptions for complete control  
✅ Set global and specific queue and topic thresholds for proactive, real-time alerting  
✅ Manage resource groups and apply RegEx-based exclusions for fine-grained monitoring  
✅ Secure authentication with Azure REST API and application access for peace of mind  

Expect to learn how to:

* Seamlessly configure and manage Azure Service Bus monitoring
* Apply advanced filtering and threshold settings
* Ensure secure, scalable, and reliable integration monitoring

>[!NOTE]
>Before you can monitor or remotely configure your Service Bus, you must [install][Install Message Queues Monitoring Agent] the [Message Queueing Monitoring Agent][Message Queuing Agent] and create a [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration]. First-time users should start with the [Remote Configuration][Configuration].

To monitor Azure Service Bus, you must authenticate with the [Azure REST API][]. Review the [Azure Application Access page][AzureApplicationsAccess] for setup details.

App Registration is required for this Service Bus configuration flow. Apply least-privilege roles and scopes as described in [AzureApplicationsAccess - Least Privileges][AzureApplicationsAccess - Least Privileges].

From the **Service Bus tab**, manage any number of Azure Subscriptions, each with its own configurable properties.

![Remote Configuration Service Bus Tab][0]  
*Configure Azure Subscriptions to monitor from the Service Bus tab.*

* :fa-plus-circle: [Add Service Bus Subscription](#fa-plus-circle-add-service-bus-subscription)
* :fa-minus-circle: [Remove Service Bus Subscription](#fa-minus-circle-remove-service-bus-subscription)
* :fa-square-check: [Enable Service Bus Subscription](#fa-square-plus-enable-service-bus-subscription)
* :fa-square: [Disable Service Bus Subscription](#fa-square-minus-disable-service-bus-subscription)
* :fa-edit: [Edit Service Bus Configuration](#fa-edit-edit-service-bus-configuration)
  * **Manage Queue thresholds**
    * Global - Use if not overridden by a specific setting
    * Specific - Overrides global configuration on named queue
    * Apply exclusion filters
* :fa-object-group: [Resource groups](#fa-object-group-resource-groups-tab)
* :fa-user-secret: [Authentication](#fa-user-secret-authentication-tab)

Remember to click **Save** to persist your changes. :Nodinite: will reflect updates after the user-defined synchronization interval.

## :fa-plus-circle: Add Service Bus Subscription

Click the :fa-square-plus: **Add** button to add a new Azure Subscription with Azure Service Bus Resources to monitor. Repeat as needed.  
![Add Subscription Button][2]  
*Click Add button to add Azure Subscription.*

![Empty Accordion][1]  
*Here's an example of a new entry.*  

Next, follow the steps in the [Edit Service Bus Configuration](#fa-edit-edit-service-bus-configuration) section below.

## :fa-minus-circle: Remove Service Bus Subscription

Click the **Remove** button to delete the configuration for monitoring the Azure Subscription with Azure Service Bus Resources.  
![Remove Subscription Button][3]  
*Remove an Azure Subscription from monitoring.*

Instead of removing an Azure Subscription, you can simply disable monitoring to keep your configuration for later use.

## :fa-square-plus: Enable Service Bus Subscription

A disabled Monitoring Configuration is clearly marked with a ban sign. Only disabled subscriptions can be **Enabled**.  
![Disabled Subscription][4]  
*Disabled subscriptions have a ban sign to indicate the subscription is not actively monitored.*

Click the checkbox to re-enable monitoring of Azure Service Bus related [Resources][].  
![Enable ServiceBus Monitoring][5]  
*Service Bus Monitoring is enabled when the checkbox is checked.*

## :fa-square-minus: Disable Service Bus Subscription

You can stop monitoring the Service Bus without removing the configuration by disabling the selected configuration. An enabled Monitoring Configuration does not have a ban sign. Only enabled subscriptions can be **Disabled**.  
![Enabled Subscription][6]  
*Enabled subscriptions do not have a ban sign.*

Un-check the checkbox to disable monitoring of Azure Service Bus related Resources.

## :fa-edit: Edit Service Bus Configuration

Click the accordion to open the entry and start editing the connection. Configurable properties are separated within the following tabs:  
![Connection tabs][12]  
*Edit connection details in the configuration tabs.*

* :fa-gear: [Basic](#fa-gear-basic-tab) - General information about the Azure Subscription  
* :fa-sliders-h: [Queue Thresholds](#fa-sliders-h-queue-thresholds-tab) - Configure global monitoring thresholds queues and specific queue settings  
* :fa-sliders-h: [Topic Thresholds](#fa-sliders-h-topic-thresholds-tab) - Configure global monitoring thresholds for topics and specific topic settings  
* :fa-object-group: [Resource groups](#fa-object-group-resource-groups-tab) - Manage resource groups to include in monitoring  
* :fa-user-secret: [Authentication](#fa-user-secret-authentication-tab) - Configure authentication for the Azure REST API

### :fa-gear: Basic tab

Provide the following general information in the **Basic** tab:  
![Azure Subscription Details][7]  
*Edit the connection information for your Azure Subscription with Azure Service Bus related resources.*

* :fa-toggle-on: **Enable Service Bus monitoring** - When checked, Service Bus Monitoring is enabled for this configuration.  
* :fa-tag: **Configuration Name** - The user-friendly name for this Azure Subscription Entry.  
  * The configuration Name is used as the [Resource Name][Resources] for the **Azure Subscription** [Category][Categories].  
  ![Configuration Name][25]  
  *Example of the Configuration Name field as it appears as a [Resource][Resources] in a :Nodinite: [Monitor View][Monitor Views].*  

>[!IMPORTANT]
>Once set, do not change the **Configuration Name** as its name affects content in [Monitor Views][] and [Categories][Categories]. If you need to change the name, review [Monitor Views][] as content may change drastically depending on the type of inclusion/exclusion filters in use.

* :fa-align-left: **Description** - Text where you can provide additional information about this entry.  

### :fa-sliders-h: Queue Thresholds tab

From within the **Thresholds tab**, you can manage the following queue-related monitoring properties:  

1. **Global** - Default values used when not overridden by a specific setting.  
2. **Specific queue settings** - Overrides global configuration on named queue.  
3. **Queue exclusion filter** - Use one or more [RegEx][] expressions to remove queues you do not want to monitor.  

![ServiceBus Queue Thresholds tab][8]  
*Queue tab with global and specific Monitoring thresholds.*

You can provide different global thresholds for different configurations (e.g. different subscriptions).  
![Global Thresholds][10]  
*Global Monitoring thresholds for Azure Service Bus Queues.*  

The following settings are available:

* [Time-based evaluation](#queue-time-based-evaluation) - Monitoring is always evaluated based on time
* [Count Evaluation Type](#queue-count-evaluation-type) - Monitoring is based on the number
  * [None](#none)
  * [Fixed](#fixed)
  * [Percentage](#percentage)  
  * [Which comes first (both)](#which-comes-first-both)

![Count Evaluation Type][15]  
*Here's an example of the **Count Evaluation Type**.*

#### Queue Time-based evaluation

Time-based evaluation is always performed. If you do not want to perform an evaluation based on time, simply provide long enough thresholds.

|State|Name|Data Type|Description|  
|:---:|---|---|---|  
|⚠️ Warning|**Warning TimeSpan**|Timespan 00:05:00 (5 minutes)|The age of first message on the queue to trigger Warning alert|  
|❌ Error|**Error TimeSpan**|Timespan 01:10:00 (1 hour 10 minutes)|The age of first message on the queue to trigger Error alert|  

#### Queue Count Evaluation Type

##### None

If you select the **None** option for **Count Evaluation Type** then monitoring is not based on the number of messages in the queue.

##### Fixed

If you select the **Fixed** option for **Count Evaluation Type** then monitoring is based on the number of messages in the queue.

|State|Name|Data Type|Description|  
|:---:|---|---|---|  
|⚠️ Warning|**Warning Count**|integer|The number of messages to go above on the queue to trigger a Warning alert|  
|❌ Error|**Error Count**|integer|The number of messages to go above on the queue to trigger Error alert|  

##### Percentage

If you select the **Percentage** option for **Count Evaluation Type** then monitoring is based on the quota set for the queue.

|State|Name|Data Type|Description|  
|:---:|---|---|---|  
|⚠️ Warning|**Warning Count Limit %**|integer|The percentage to go above on the queue to trigger a Warning alert|  
|❌ Error|**Error Count Limit %**|integer|The percentage to go above on the queue to trigger Error alert|  

#### Which comes first (both)

If you select the **Which comes first (both)** option for **Count Evaluation Type** then monitoring is based on both **Fixed** and **Percent**.

#### Specific queue settings

You can provide specific thresholds for named Service Bus Queues. The Namespace and Queue Name are used to uniquely identify the queue.
![SpecificQueueThresholds][11]  
*Add one or more named queues to provide specific settings.*  

Each specific queue needs to be identified by its namespace and queue name. You can also provide a user-friendly description.  
![SpecificQueueConfiguration.png][14]  

The rest of the properties are the same as already described in the global configuration.

>[!TIP]
>It is much easier to perform specific configurations using the **Edit threshold** menu item available on the **Actions** button in the list of queues ([Resources][]) with [Monitor Views][] and [Remote Actions Option][Monitor Views - Remote Actions Option] checked.

##### Queue exclusion filter

The **Queue exclusion filter** feature lets you use one or more RegEx expressions to remove queues you want to exclude from monitoring.  
![Exclude Filter][9]  
*Example of the Exclusion Filter for Service Bus Queues.*

Whenever you apply one or more filters, the configuration accordion will display a filter icon to indicate exclusions are in use.  
![Filter icon][13]  
*Filter icon appears when exclusions are configured.*  

You can **Add** and **Remove** as many RegEx expressions as you like.

>[!IMPORTANT]
>We have had many support incidents with reports of missing queues due to this functionality. If you miss a queue in your [Monitor Views][], first check your filters. Remember: With great power comes great responsibility.

### :fa-sliders-h: Topic Thresholds tab

From within the **Topic Thresholds tab**, you can manage the following topic monitoring properties:  

* **Global** - Default values used when not overridden by a specific setting
  * Enable/Disable monitoring
  * Topic related Monitoring properties  
  * Topic Subscription related Monitoring properties
* **Specific Topic settings** - Overrides global configuration on named Topic
* **Topic exclusion filter** - Use one or more RegEx expressions to remove Topics you do not want to include in the Monitoring

![ServiceBus Topic Thresholds Tab][20]  
*Topic tab with global and specific thresholds.*

You can provide different global thresholds for different configurations (e.g. different subscriptions). All these settings are used when no specific topic settings are provided.

>[!NOTE]
>Topics are not the same as Queues. Topics are used to send messages to multiple subscribers, while Queues are used for point-to-point communication. The thresholds for topics are different from those for queues.
>The Topics Monitoring also has a **Subscription** concept, which is used to filter messages sent to the topic. Each subscription can have its own thresholds.

![Global Thresholds][21]  
*Global thresholds for Azure Service Bus Topics.*

You can modify the following properties:

* [Time-based evaluation](#topic-time-based-evaluation) - Monitoring is always evaluated based on time
* [Count Evaluation Type](#topic-count-evaluation-type) - Monitoring is based on the number of messages in the topic/subscription
  * None - Monitoring is not based on the number of messages in the topic/subscription
  * Fixed - Monitoring is based on the number of messages in the topic/subscription

![Count Evaluation Type][15]  
*Here's an example of the **Count Evaluation Type**.*

#### Topic Time-based evaluation

The Topic Time-based evaluation is always performed. If you do not want to perform an evaluation based on time, simply provide long enough thresholds.  

|State|Name|Data Type|Value Example|Description|  
|:---:|---|---|---|---|  
|⚠️ Warning|**Warning TimeSpan**|Timespan|00:05:00 (5 minutes)|The age of first message on the queue to trigger Warning alert|  
|❌ Error|**Error TimeSpan**|Timespan|01:10:00 (1 hour 10 minutes)|The age of first message on the queue to trigger Error alert|  

#### Topic Count Evaluation Type

There are two options for the **Count Evaluation Type**: **None** and **Fixed**.

* **None** - Monitoring is not based on the number of messages in the topic/subscription.

If you select the **None** option for **Count Evaluation Type** then monitoring is not based on the number of messages at the topic/subscription.

* **Fixed** - Monitoring is based on the number of messages in the topic/subscription.

If you select the **Fixed** option for **Count Evaluation Type** then monitoring is based on the number of messages at the topic/subscription.

|State|Name|Data Type|Value Example|Description|  
|:---:|---|---|---|---|  
|⚠️ Warning|**Warning Count**|integer|>=0|The number of messages to go above on the topic/subscription to trigger Warning alert|  
|❌ Error|**Error Count**|integer|>=0|The number of messages to go above on the topic/subscription to trigger Error alert|  

#### Specific Topic settings

You can provide specific thresholds for named Service Bus Topics. The Namespace and Topic Name are used to uniquely identify the Topic.
![Specific Topic Thresholds][22]  
*Add one or more named topics to provide specific settings.*  

Each specific topic needs to be identified by its namespace and topic name. You can also provide a user-friendly description.  
![Specific Topic Configuration][23]  

The rest of the properties are the same as already described in the global configuration.

>[!TIP]
>You may find it easier to perform a specific configuration using the **Edit threshold** menu item available on the **Actions** button in the list of topics ([Resources][]) with [Monitor Views][] and [Remote Actions Option][Monitor Views - Remote Actions Option] checked.

##### Topic exclusion filter

The **Topic exclusion filter** feature lets you use one or more RegEx expressions to remove topics you want to exclude from monitoring.  
![Exclude Filter][24]

Whenever you apply one or more filters, the configuration accordion will display a filter icon to indicate exclusions are in use.  
![Filter icon][13]  
*Filter icon appears when exclusions are configured.*  

You can **Add** and **Remove** as many RegEx expressions as you like.

>[!IMPORTANT]
>We have had many support incidents with reports of missing queues due to this functionality. If you miss a queue in your [Monitor Views][], first check your filters. Remember: With great power comes great responsibility.

### :fa-object-group: Resource Groups tab

You can choose to include only Service Bus Resources from named Azure **Resource Groups**. These are also monitored with their own [Category][Categories]: **"Resource Group"**. If someone renames or removes a Resource group from the Azure Subscription, you will be alerted.  

![Resource Group Tab][17]  
*Configure which Resource Groups to include in Monitoring.*  

Click the accordion to expand the configuration. You must set the name of the **Resource group** to include.

![Resource Group Configuration][18]  
*Set the Resource Group name to include in Monitoring.*

>:fa-repeat: Repeat for all named Resource groups to monitor as required by your business case.

![Resource Group][16]  
*Monitor View filtered by [Category][Categories] Resource Group.*

### :fa-user-secret: Authentication tab

>Monitoring the Azure Service Bus requires some steps to authenticate with the [Azure REST API][]. Make sure to first read the [Azure Application Access][AzureApplicationsAccess] page.  
>Use [AzureApplicationsAccess - Least Privileges][AzureApplicationsAccess - Least Privileges] when assigning Azure roles.

* :fa-building: **TenantId**
* :fa-credit-card: **SubscriptionId**  
* :fa-id-badge: **ClientId**  
* :fa-key: **ClientSecret**

If you provide invalid credentials, you will see this in the [Monitor View][Monitor Views] since each configuration is presented as a [Resource][Resources] by [Category][Categories] **Service Bus**.  
![Category Service Bus Configuration][19]  
*Service Bus Configuration [Category][Categories] in Monitor View.*

## :fa-cog: Advanced Settings

:new7.1:

From the **Advanced** tab, you can configure advanced options for this Azure Service Bus subscription connection.

![Advanced tab (7.1.0)][26]  
*Example showing the Advanced tab for Service Bus subscription configuration.*

* :fa-clock: **Source polling interval** - (optional) The polling interval for this specific Azure Service Bus subscription in seconds. When set, this overrides the global polling interval configured for the [Message Queueing Monitoring Agent][Message Queuing Agent]. It should typically be a multiple of (and not lower than) the global setting.
  * **Default value:** 60 seconds
  * **Recommendation:** Use multiples of the global polling interval (e.g., if global is 60 seconds, use 60, 120, 180, etc.)
  * **Use case:** Set a longer polling interval for less critical Service Bus subscriptions to reduce monitoring overhead, or a shorter interval for critical systems requiring more frequent health checks.

>[!NOTE]
>Leaving this field empty (or set to 0) means the global polling interval will be used for this subscription.

---

## :fa-hand-point-right: Next Steps

* :fa-edit: [Configuration][] of the agent  
  * :fa-edit: [Configuring ActiveMQ][]  
  * :fa-edit: [Configuring MSMQ][]  
  * :fa-edit: [Configuring AnypointMQ][]  
* :fa-display: [Add or manage Monitor View][]  

## :fa-link-horizontal: Related Topics

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-rocket: [Install Message Queueing Monitoring Agent][]  

[0]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/ConnectionTab.png
[1]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/EmptyConnectionAccordion.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/AddButton.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/RemoveButton.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/DisabledSubscription.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/EnableMonitoring.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/DisableSubscriptionCheckbox.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/SubscriptionDetails.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/ServiceBusQueueThresholdsTab.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/QueueExcludeFilter.png
[10]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/GlobalThresholds.png
[11]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/SpecificQueuesThresholds.png
[12]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/ConnectionTabs.png
[13]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/FilterIcon.png
[14]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/SpecificQueueConfiguration.png
[15]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/CountEvaluationType.png
[16]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/RG/ResourceGroupCategoryInMonitorView.png
[17]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/ResourceGroupsTab.png
[18]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/ResourceGroupConfiguration.png
[19]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/NS/ServiceBusCategory.png
[20]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/Topic/TopicsTab.png
[21]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/Topic/GlobalThresholds.png
[22]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/Topic/SpecificTopics.png
[23]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/Topic/SpecificTopicThreshold.png
[24]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/Topic/ExclusionFilter.png
[25]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/AzureSubscription/ConfigurationName.png
[26]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/SB/AdvancedTab.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[Azure Service Bus]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Azure%20Service%20Bus%20Queues/Monitoring%20Azure%20Service%20Bus%20Queue.md
[AzureApplicationsAccess]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access.md
[AzureApplicationsAccess - Least Privileges]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access%20-%20Least%20Privileges.md
[Categories]:{ndr}/Administration/2.%20Monitor%20Management/4.%20Categories/Features/What%20is%20a%20Category.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3.%20Configuration.md
[Configuring ActiveMQ]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3A.%20Configuration%20-%20ActiveMQ.md
[Configuring AnypointMQ]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3D.%20Configuration%20-%20AnypointMQ.md
[Configuring MSMQ]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3B.%20Configuration%20-%20MSMQ.md
[Install Message Queueing Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/2.%20Install.md
[Install Message Queues Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/2.%20Install.md
[Message Queuing Agent]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitor Views - Remote Actions Option]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Monitor%20View%20General%20Tab.md#features-you-can-control
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md