---
title: "Prerequisites for Nodinite Message Queueing Monitoring Agent: ActiveMQ, MSMQ, Azure Service Bus"
description: Discover the prerequisites and unique benefits of enabling Message Queueing monitoring for ActiveMQ, MSMQ, and Azure Service Bus with Nodinite. Ensure your environment is ready for seamless, secure, and scalable monitoring.
---

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

# :fa-square-plus: Prerequisites for the Nodinite Message Queueing Monitoring Agent

>[!TIP]
>This page describes the **prerequisites** for installing and running the :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent].

Unlock seamless monitoring of your enterprise message queues with the Nodinite [Message Queueing Monitoring Agent][Message Queuing Agent]. This page guides you through all prerequisites to ensure a smooth installation and optimal performance for ActiveMQ, MSMQ, and [Azure Service Bus][] environments.

✅ Effortless integration with leading message queue platforms  
✅ Centralized, real-time monitoring for on-premise and cloud deployments  
✅ Enhanced security and compliance with granular user rights  
✅ Scalable architecture for enterprise-grade reliability  

<div class="mermaid">
graph LR
   subgraph "Nodinite"
        roNI(fal:fa-code-commit Message Queueing Monitoring Agent)---
        roMonitor[fal:fa-monitor-waveform Monitoring]
    end
    subgraph "Apache"
      roMonitor --- ro1(fal:fa-list ActiveMQ)
   end
    subgraph "Azure"
      roMonitor --- ro2(fal:fa-list Service Bus Queues)
      roMonitor --- ro3(fal:fa-list Service Bus Topics)
   end
   subgraph "Microsoft/Windows"
      roMonitor --- ro4(fal:fa-list MSMQ)
   end
    subgraph "MuleSoft"
      roMonitor --- ro5(fal:fa-list AnypointMQ)
   end
</div>

*Architecture overview: The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] connects to multiple queueing technologies for unified monitoring.*

Instances of this agent can be installed on-premise using TCP/IP for local network access and/or in the cloud/off-site using [Service Bus Relaying][] (see also the external link for additional information ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup>:fa-arrow-up-right-from-square:</sup>).

>We recommend that you keep this agent close to :Nodinite: [Core Services][]. This documentation covers local network setup (usually on the :Nodinite: application server)  

|Verified|Topic|  
|:---:|---|  
|:fa-square:|:fa-box-check: [Software Requirements](#fa-box-check-software-requirements)|  
|:fa-square:|:fab fa-windows: [What Windows User Rights does the Message Queueing Monitoring Agent require?](#what-windows-user-rights-does-the-message-queueing-monitoring-agent-require)|  
|:fa-square:|:fa-list: [What ActiveMQ User rights are required?](#fa-list-what-activemq-user-rights-does-the-message-queueing-monitoring-agent-require)|  
|:fa-square:|:fa-list: [What MSMQ User rights are required?](#fa-list-what-msmq-user-rights-does-the-message-queueing-monitoring-agent-require)|  
|:fa-square:|:fa-cloud: [What Azure ServiceBus User rights are required?](#fa-cloud-what-azure-servicebus-user-rights-does-the-message-queueing-monitoring-agent-require)|  
|:fa-square:|:fa-shield-check: [What Firewall settings are required ?](#fa-shield-check-firewall)|  

## :fa-box-check: Software Requirements

The [Message Queueing Monitoring Agent][Message Queuing Agent] is a Windows Service, typically installed on the :Nodinite: application server for best performance and security.  

Versions **7.0.4** and later require **.NET 10 Hosting Bundle**.  

|Product|Version/Edition|  
|---|---|  
|:fab fa-windows: [Windows Server][]|Windows 2025<br/>Windows 2022<br/>Windows 2019<br/>Windows 2016<br/>Windows 2012 R2<br/>Windows 2012|  
|:fa-file-prescription: .NET 10 Hosting Bundle :new7.0.4:|Required for v7.0.4 and later. [Download from Microsoft](https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe)<sup>:fa-arrow-up-right-from-square:</sup>|  
|:fa-list: ActiveMQ|5.14.0 and later|  
|:fa-list: MSMQ  <ul><li>:fab fa-windows: MSMQ Active Directory Domain Services Integration / Directory Service Integration</li><li>[Install Message Queueing](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc730960%28v=ws.11%29)<sup>:fa-arrow-up-right-from-square:</sup></li></ul>|For supported Windows versions. **NOTE:** Additional roles and features may be required depending on the intended usage|  
|:fa-cloud: Azure Service Bus|Current public (GA) version by Microsoft in Azure|  

>Versions **6.0** -> **7.0.3** require .NET Framework 4.8 or later.  
>**.NET 10 minimum OS:** Windows Server 2012 / 2012 R2.  
>Versions **5.4** and later require .NET Framework 4.6.2 or later.  
>Versions before **5.4** require .NET Framework 4.5.2 or later.  

## :fab fa-windows: What Windows User Rights does the Message Queueing Monitoring Agent require? {#what-windows-user-rights-does-the-message-queueing-monitoring-agent-require}

The agent installs as a **Windows Service**—usually on the :Nodinite: application server or a supported virtual machine.  

**Service Account Options** :new7.0.4:

* :fa-user-shield: **Group Managed Service Account (gMSA)** - Recommended for automated password management. See [Configure Group Managed Service Accounts (gMSA)][] for setup instructions.  
* :fa-user: **Traditional Account** - Use a local named account or, preferably, a domain account.  
  * Follow the '[How to set logon as a Windows service right][How to set Logon as a Service right]' user guide for detailed instructions.  

## :fa-list: What ActiveMQ User rights does the Message Queueing Monitoring Agent require

Review the Apache ActiveMQ [Security guide](https://activemq.apache.org/components/classic/documentation/security)<sup>:fa-arrow-up-right-from-square:</sup> for best practices on securing your message queues.  

## :fa-list: What MSMQ User rights does the Message Queueing Monitoring Agent require

For MSMQ, refer to the [Securing Messages Using Transport Security](https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/securing-messages-using-transport-security)<sup>:fa-arrow-up-right-from-square:</sup> user guide for configuration and security recommendations.  

If a private queue returns access denied when you change its permissions, see [MSMQ Queue Access denied][MSMQ Access denied].

## :fa-cloud: What Azure ServiceBus User rights does the Message Queueing Monitoring Agent require

For Azure Service Bus monitoring, this agent uses an **App Registration** (ClientId/ApplicationId) to connect with the Azure REST API. Configure roles with least privilege as described in [AzureApplicationsAccess - Least Privileges][AzureApplicationsAccess - Least Privileges].

The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] requires the following [Azure Roles](https://learn.microsoft.com/en-us/azure/role-based-access-control/role-definitions-list?tabs=roles)<sup>:fa-arrow-up-right-from-square:</sup> to be set on the ClientId/ApplicationId used to connect with the Azure REST API:

|Service Name|Permission|Comment|  
|---|---|---|  
|:fa-cloud: Service Bus Namespace|**Azure Service Bus Data Owner**|Allows for full access to Azure Service Bus resources. Set on Subscription, or Resource Group Level|  
|:fa-credit-card: Subscription|**Reader**|Show Details and Match/Validate the Subscription Id with the current configuration.<br/>**NOTE**: This right **inherits** to all other resources in selected Subscription|  

You can apply these rights on different **scopes**. For more details, review the [Authenticate and authorize an application with Microsoft Entra ID to access Azure Service Bus entities](https://learn.microsoft.com/en-us/azure/service-bus-messaging/authenticate-application?tabs=dotnet)<sup>:fa-arrow-up-right-from-square:</sup> user guide.  

## :fa-shield-check: Firewall

Where you install the :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] in relation to the :Nodinite: [Monitoring Service][] and your message brokers determines your firewall configuration. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roMonitoringService(fa:fa-watch-fitness Monitoring Service)
    end
    subgraph "Nodinite Agent Server"
        roNI(fa:fa-monitor-waveform Message Queueing Monitoring Agent)
    end
    subgraph "Target: Apache ActiveMQ"
        ro1(fa:fa-list ActiveMQ Broker)
    end
    subgraph "Target: Microsoft MSMQ"
        ro2(fa:fa-list MSMQ Server)
    end
    subgraph "Target: Azure Service Bus"
        ro3(fa:fa-list Queues and Topics)
    end
    subgraph "Target: MuleSoft AnypointMQ"
        ro5(fa:fa-list AnypointMQ)
    end
    subgraph "Domain Controller"
        roDC(fa:fa-id-badge Active Directory)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    subgraph "Azure Service Bus Relay (optional)"
        roRelay(fa:fa-cloud Relay namespace)
    end
    roMonitoringService --> |"Agent site port (v7) / 8000 (v6)"| roNI
    roNI --> |"61616"| ro1
    roNI --> |"135, 1801, 2101-2105, 3527"| ro2
    roNI --> |"443, 5671-5672"| ro3
    roNI --> |"443"| ro5
    roNI -.-> |"88, 389, 636 (MSMQ)"| roDC
    roNI --> |"53"| roDNS
    roMonitoringService -.-> |"443"| roRelay
    roNI -.-> |"443"| roRelay
</div>

*Network diagram: the Monitoring Service calls the agent, and the agent connects to each broker you configure. Dashed arrows are optional hops.*

>[!NOTE]
>When the agent runs on the Core Services Server (the typical installation), you need no firewall rule between the [Monitoring Service][] and the agent.

### Between the Monitoring Service and the Message Queueing Monitoring Agent

The [Monitoring Service][] opens every connection; the agent never calls it. On Windows Server, :Nodinite: v7 hosts the agent as its own [IIS][] web site, on a port you set per environment in the :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup> ([Servers step][]).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Inbound|Core Services Server|Agent Server|TCP (HTTPS/HTTP)|Agent site port|Poll the agent, send configuration, run [Remote Actions][]|v7. No fixed default; use the port set in the Portal. Only when the agent is on a **remote** server|  
|Inbound|Core Services Server|Agent Server|TCP|[8000][Port8000]|Same, for Windows Service agents|⚠️ v6 and earlier only (legacy MSI installer on remote servers)|  

#### Option: Service Bus Relaying (cloud or hybrid)

Use [Service Bus Relayed connections][Service Bus Relaying] when :Nodinite: and the agent are on different networks. Both sides connect **outbound** to the Azure Relay namespace, so neither server needs an inbound rule. :Nodinite: uses the same principle as the on-premises data gateway; see '[Adjust communication settings for the on-premises data gateway](https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-communication)<sup>:fa-arrow-up-right-from-square:</sup>' and the ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup>:fa-arrow-up-right-from-square:</sup>.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|HTTPS (WebSockets): the agent's relay listener|All versions. Allow the relay host by DNS name, not by IP address: the relay gateway addresses change|  
|Outbound|Core Services Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|The Monitoring Service and the [Web API][] call the agent through the relay|HTTPS only, direct (no proxy)|  

### Between the Message Queueing Monitoring Agent and ActiveMQ

Required for monitoring ActiveMQ queues and topics.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (ActiveMQ Broker)|TCP|61616|ActiveMQ remote connection|Default OpenWire protocol port; use the port in your [connection string][Configuration - ActiveMQ - Add broker]|  
|Inbound|Target (ActiveMQ Broker)|Agent Server|TCP|61616|Response traffic|Automatically allowed by stateful firewall inspection|  

>[!TIP]
>**Custom Ports**: The ActiveMQ Broker port can be configured in `activemq.xml`. Common configurations include port **61616** (OpenWire), **8161** (Web Console), **5672** (AMQP), or custom ports. Adjust firewall rules to match your configuration.

>[!TIP]
>**SSL/TLS**: For secure ActiveMQ connections, configure SSL on a custom port (e.g., 61617). Ensure the Agent Server trusts the ActiveMQ SSL certificate. See [Apache ActiveMQ Security guide](https://activemq.apache.org/components/classic/documentation/security)<sup>:fa-arrow-up-right-from-square:</sup> for details.

### Between the Message Queueing Monitoring Agent and MSMQ

Required for monitoring MSMQ queues on the servers you configure.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (MSMQ Server)|TCP|1801|MSMQ TCP connection|Primary MSMQ port|  
|Outbound|Agent Server|Target (MSMQ Server)|UDP|1801|MSMQ UDP connection|Alternative MSMQ protocol|  
|Outbound|Agent Server|Target (MSMQ Server)|TCP/UDP|135|RPC Endpoint Mapper|Maps RPC requests to MSMQ services|  
|Outbound|Agent Server|Target (MSMQ Server)|TCP|2101, 2103, 2105|MSMQ RPC|Additional MSMQ RPC ports|  
|Outbound|Agent Server|Target (MSMQ Server)|UDP|3527|MSMQ Ping|MSMQ discovery protocol|  
|Inbound|Target (MSMQ Server)|Agent Server|TCP/UDP|135, 1801, 2101, 2103, 2105, 3527|Response traffic|Automatically allowed by stateful firewall inspection|  

>[!TIP]
>**MSMQ Port List**: For a comprehensive list of MSMQ ports, review the Microsoft guide ['Network Ports Used by Message Queuing'](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc725576%28v=ws.10%29)<sup>:fa-arrow-up-right-from-square:</sup>.

>[!TIP]
>**MSMQ Security**: For production environments, enable [MSMQ transport security](https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/securing-messages-using-transport-security)<sup>:fa-arrow-up-right-from-square:</sup> with encryption and authentication.

### Between the Message Queueing Monitoring Agent and Azure Service Bus

Required for monitoring Azure Service Bus queues, topics, and subscriptions. All traffic is outbound HTTPS/AMQP to Azure; you need no inbound rule.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Microsoft Entra ID (`login.microsoftonline.com`)|TCP (HTTPS)|443|Acquire access tokens|App registration used in the [Authentication tab][Configuration - Service Bus]|  
|Outbound|Agent Server|Azure Resource Manager (`management.azure.com`)|TCP (HTTPS)|443|Discover subscriptions, resource groups, and namespaces|Azure REST API|  
|Outbound|Agent Server|Target (`*.servicebus.windows.net`)|TCP (HTTPS)|443|[Service Bus][Azure Service Bus] management and monitoring|Namespace endpoint|  
|Outbound|Agent Server|Target (`*.servicebus.windows.net`)|TCP|5671, 5672|AMQP with TLS|Advanced Message Queuing Protocol; used for message operations|  
|Inbound|Azure|Agent Server|TCP|443, 5671, 5672|Response traffic|Automatically allowed by stateful firewall inspection|  

>[!TIP]
>**AMQP Ports 5671 and 5672 Configuration**: For comprehensive guidance on configuring, testing, and troubleshooting AMQP ports 5671 and 5672 for Azure Service Bus and Event Hub, firewall rules, PowerShell connectivity testing, and authentication requirements, see [AMQP Port Configuration - 5671 and 5672][].

### Between the Message Queueing Monitoring Agent and MuleSoft AnypointMQ

Required for monitoring AnypointMQ queues. All traffic is outbound HTTPS (TLS 1.2) to the Anypoint Platform; see the ['Anypoint MQ FAQ'](https://docs.mulesoft.com/mq/mq-faq)<sup>:fa-arrow-up-right-from-square:</sup> for control planes and regions.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (Anypoint Platform, `anypoint.mulesoft.com`)|TCP (HTTPS)|443|Authenticate (client id/secret) and query queues|US control plane. With **Use EU Anypoint Platform** checked, use `eu1.anypoint.mulesoft.com`|  
|Outbound|Agent Server|Target (AnypointMQ broker, `mq-{region}.anypoint.mulesoft.com`)|TCP (HTTPS)|443|Anypoint MQ Broker API|`{region}` is the configured **Region ID**, for example `mq-us-east-1.anypoint.mulesoft.com`|  

### Between the Message Queueing Monitoring Agent and the Domain Controller

Required for MSMQ monitoring with Windows authentication (domain service account).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|88|Kerberos authentication|Required for domain authentication|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|389|LDAP|Standard LDAP queries|  
|Outbound|Agent Server|Domain Controller|TCP|636|LDAPS (Secure LDAP)|Required for LDAPS authentication|  
|Inbound|Domain Controller|Agent Server|TCP/UDP|Same as outbound|Response to Kerberos / LDAP|Usually allowed by stateful firewall inspection|  

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the brokers, the Core Services Server, the Domain Controller, and the Azure and Anypoint hostnames. A local `hosts` file can replace DNS for on-premises hosts|  
|Outbound|Core Services Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Agent Server|  

>[!IMPORTANT]
>**Stateful Firewalls**: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.
___

## :fa-list-alt: Release Notes

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

For detailed information about the features and bug fixes, please visit the [Portal](https://portal.nodinite.com/)<sup>:fa-arrow-up-right-from-square:</sup>

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

:fa-rocket: [Install Message Queues Monitoring Agent][]  

## :fa-link-horizontal: Related Topics

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-display: [Monitoring][]  
:fa-gears: [Administration][]  

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Administration]:{ndr}/Administration/Overview.md
[AMQP Port Configuration - 5671 and 5672]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/AMQP%20Port%20Configuration%20-%205671%20and%205672.md
[Azure Service Bus]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Azure%20Service%20Bus%20Queues/Monitoring%20Azure%20Service%20Bus%20Queue.md
[AzureApplicationsAccess - Least Privileges]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access%20-%20Least%20Privileges.md
[Configuration - ActiveMQ - Add broker]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3A.%20Configuration%20-%20ActiveMQ.md#fa-square-plus-add-activemq-broker
[Configuration - Service Bus]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/3C.%20Configuration%20-%20Service%20Bus.md#fa-user-secret-authentication-tab
[Configure Group Managed Service Accounts (gMSA)]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/gMSA%20accounts.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[How to set Logon as a Service right]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[IIS]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/IIS.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
[MicrosoftServiceBusRelayingLink]:https://learn.microsoft.com/en-us/azure/azure-relay/relay-faq/
[Monitoring]:nodiniteDoc:/Monitoring
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[MSMQ Access denied]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/MSMQ%20Queue%20Access%20denied.md
[NodinitePortal]:https://portal.nodinite.com
[Port8000]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Why%20do%20Nodinite%20use%20port%208000.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Service Bus Relaying]:{ndr}/Install%20and%20Update/Troubleshooting/Configure%20Service%20Bus%20Relaying%20for%20Monitor%20Agents.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md