---
title: Monitoring Microsoft MSMQ Queues and Services with Nodinite - State Evaluation and Alerting
description: Monitor Microsoft MSMQ queues and services with Nodinite. Real-time state evaluation based on message age, count, and quota thresholds. Automatic discovery of private, public, and system queues with configurable alerting to prevent message stockpiling and service disruptions.
---

# Monitoring Microsoft MSMQ

## Why Monitor MSMQ Queues?

Message stockpiling in MSMQ queues can grind your integrations to a halt. When queues fill up or messages age beyond acceptable limits, you face:

* **Service disruptions** - Filled queues block message delivery, causing transaction timeouts and system failures  
* **Delayed processing** - Aged messages indicate stalled consumers, leading to data processing backlogs  
* **Disk space exhaustion** - Unchecked queue growth consumes server resources and can crash services  
* **Business impact** - Order processing delays, failed notifications, and lost revenue from integration failures  

## What Nodinite Monitors

The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] provides near real-time visibility into your MSMQ infrastructure by monitoring:

* **MSMQ Service status** - Detects when the MSMQ service is unavailable or unresponsive  
* **Queue message count** - Alerts when queues exceed configured thresholds (fixed counts or quota percentages)  
* **Message age** - Tracks how long the oldest message has been waiting, indicating processing delays  
* **Queue types** - Monitors private, public, and system queues (including dead-letter queues)  
* **Journaling** - Prevents journal storage from consuming excessive disk space  

## When to Use MSMQ Monitoring

Enable MSMQ monitoring when you need to:

* **Prevent message stockpiling** before it impacts business operations  
* **Detect processing failures** early through age-based alerting  
* **Enforce SLAs** for message processing time and queue depth  
* **Delegate queue management** to application teams without granting [Windows Server][] access  
* **Track service availability** across distributed MSMQ environments  

## How MSMQ Monitoring Works

<div class="mermaid">
graph TB
    Agent["fa:fa-server Message Queueing<br/>Monitoring Agent"]
    MSMQ["fa:fa-server Windows Server<br/>MSMQ Service"]
    Queue1["fa:fa-inbox Private Queue<br/>order.processing"]
    Queue2["fa:fa-inbox Public Queue<br/>notifications"]
    SysQueue["fa:fa-book-dead Dead Letter<br/>Queue"]
    WebClient["fa:fa-browser Nodinite<br/>Web Client"]
    Agent -->|"WMI/COM+"| MSMQ
    MSMQ --> Queue1
    MSMQ --> Queue2
    MSMQ --> SysQueue
    Agent -->|"Check: Count, Age, Quota"| Queue1
    Agent -->|"Check: Count, Age, Quota"| Queue2
    Agent -->|"Check: Count, Age"| SysQueue
    Agent -->|"State: OK/Warning/Error/Unavailable"| WebClient
    style Queue1 fill:#93d16d
    style Queue2 fill:#FFD525
    style SysQueue fill:#c33d34
    style WebClient fill:#2678BD
</div>

*Diagram: MSMQ monitoring architecture showing WMI-based queue checks flowing from the monitoring agent to the web client, with color-coded queue states (green = OK, yellow = warning, red = error).*

>[!TIP]
>For information about remote administrative actions—such as editing thresholds, purging messages, or posting messages to MSMQ queues—see [Managing Microsoft MSMQ][Managing MSMQ].

![MSMQ Resources][1]  
*Here's an example with a list of Monitored MSMQ [Resources][] in a :Nodinite: self-service [Monitor View][Monitor Views].*

## Monitoring Capabilities

### Automatic Queue Discovery

The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] automatically detects all queues on configured MSMQ servers. Once discovered, you can:

* Share access to individual queues through [role][Roles]-based [Monitor Views][]  
* Delegate queue monitoring to application teams without granting Windows Server access  
* Configure custom thresholds per queue or use global defaults  

### State Evaluation Thresholds

:Nodinite: evaluates MSMQ health based on configurable thresholds:

|Threshold Type|Purpose|Alert Trigger|Use Case|
|---|---|---|---|
|:fa-clock: **Message Age**|Detect processing delays|First message exceeds maximum age|Identify stalled consumers, failed services|
|:fa-hashtag: **Message Count (Fixed)**|Prevent queue overflow|Queue exceeds fixed message limit|Cap queue depth for small queues|
|:fa-percent: **Message Count (Quota %)**|Prevent disk exhaustion|Queue exceeds percentage of quota|Monitor large queues relative to capacity|
|:fa-gears: **Service Status**|Ensure MSMQ availability|MSMQ service is stopped or unavailable|Detect service crashes, network issues|
|:fa-book: **Journaling**|Prevent journal bloat|Journal size exceeds thresholds|Avoid disk space consumption|

>[!NOTE]
>If :Nodinite: cannot check the state of your MSMQ queues and services, it is likely that no one else can use them effectively either.

### Category-Based Monitoring

To help differentiate between various types of MSMQ artifacts, monitored [Resources][] are grouped into categories:

|Category|Resource Type|Monitoring Focus|
|---|---|---|
|:fa-gears: **MSMQ**|MSMQ Service|Service availability, connectivity|
|:fa-lock: **MSMQ Private Queue**|Application-owned queues|Age, count, quota thresholds|
|:fa-globe: **MSMQ Public Queue**|Directory-published queues|Age, count, quota thresholds|
|:fa-microchip: **MSMQ System Queue**|Dead-letter, journals, system queues|Age, count (read-only)|

![Categories][2]  
*Example of MSMQ-related monitoring categories in :Nodinite:.*

## Understanding State Evaluation

The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] uses global or queue-specific thresholds to assess the age and number of messages across all MSMQ queue types. Each queue becomes a [Resource][Resources] with an evaluated state that you can add to one or more [Monitor Views][].

For instance, if you have 42 queues, you will have 42 [Resources][] available for monitoring, each potentially reflecting different evaluated states at any given time.

![Monitor View Live Monitor tab with the status-code bar chart under the filters, showing Unavailable (2), Error (188), Warning (81), and OK (547) of 818 Resources (7.12)][100]  
*The bar chart directly under the filters in a Monitor View sums up the evaluated states of the included Resources.*  

### State Transition Flow

<div class="mermaid">
stateDiagram-v2
    [*] --> Checking
    Checking --> OK: Service available,<br/>thresholds not breached
    Checking --> Warning: Warning threshold breached
    Checking --> Error: Error threshold breached
    Checking --> Unavailable: Service unreachable,<br/>network/security issue
    OK --> Warning: Count/age exceeds<br/>warning threshold
    Warning --> Error: Count/age exceeds<br/>error threshold
    Warning --> OK: Messages processed,<br/>below warning threshold
    Error --> Warning: Messages processed,<br/>below error threshold
    Error --> OK: Messages processed,<br/>below warning threshold
    Unavailable --> Checking: Service restored,<br/>connectivity restored
</div>

*Diagram: MSMQ queue state transitions showing how queues move between OK, Warning, Error, and Unavailable states based on thresholds and service availability.*

### State Reference Table

When a queue contains too many messages or messages that are too old, its [Resource][Resources] is evaluated as being in an **Error** or **Warning** state, depending on thresholds you define. This state persists until the error condition is resolved, either by processing messages or adjusting the [thresholds][Edit thresholds].

|State|Status|Description|:fa-bolt: Available Actions|  
|---|---|---|---|  
|🚫 Unavailable|**Resource not available**|Evaluation of the MSMQ queue is not possible due to network or security-related problems. A specific queue may have been deleted—if this is the case, remove the configuration (do NOT exclude the resource)|Review [prerequisites][]|  
|❌ Error|**Error threshold breached**|Queue has too many or too old messages according to user-defined thresholds|:fa-circle-info: [Details][Managing MSMQ - Queue Details]<br/>:fa-edit: [Edit thresholds][]<br/>:fa-list: [List messages][]<br/>:fa-dumpster-fire: [Purge][Managing MSMQ - Purge]|  
|⚠️ Warning|**Warning threshold breached**|Queue has too many or too old messages according to user-defined thresholds|:fa-circle-info: [Details][Managing MSMQ - Queue Details]<br/>:fa-edit: [Edit thresholds][]<br/>:fa-list: [List messages][]<br/>:fa-dumpster-fire: [Purge][Managing MSMQ - Purge]|  
|✅ OK|**Within user-defined thresholds**|Queue and service are operational and within user-defined monitoring thresholds|:fa-circle-info: [Details][Managing MSMQ - Queue Details]<br/>:fa-edit: [Edit thresholds][]<br/>:fa-list: [List messages][]|  

From within :Nodinite:, you can reconfigure the state evaluation at the [Resource][Resources] level using the [Expected State][] feature.

## Monitoring by Category

### MSMQ Service

The MSMQ Service represents the core Windows Server message queuing service. One MSMQ Service is displayed within :Nodinite: as one [Resource][Resources]. If you have 3 MSMQ Services configured, you will have 3 **Resources** available for use in one or more :Nodinite: [Monitor Views][].

#### Resource Identification

* :fa-folder: **Category**: All MSMQ Services belong to the 'MSMQ' [category][Categories]  
* :fa-box-open: **Application**: The [Application][Applications] name is based on the display name from the [Configuration][]  
* :fa-lightbulb-on: **Resource**: The [Resource][Resources] name is always 'MSMQ Service'  

![MSMQ Category Resources][4]  
*Example of Monitor View filtered by the 'MSMQ' category.*

#### State Evaluation for MSMQ Service

The MSMQ Service resource monitors service availability only—it does not evaluate message counts or age.

|State|Status|Description|:fa-bolt: Available Actions|  
|---|---|---|---|  
|🚫 Unavailable|**Resource not available**|Evaluation of the MSMQ Service is not possible due to network or security-related problems|Review [prerequisites][]|  
|✅ OK|**MSMQ Service is online**|No problems exist connecting with the MSMQ service|:fa-circle-info: [Details][Managing MSMQ - Service Details]|  

From within :Nodinite:, you can reconfigure the state evaluation at the [Resource][Resources] level using the [Expected State][] feature.

### Private Queues

Private queues are application-specific queues that are not published to Active Directory. They offer faster access and lower overhead compared to public queues.

#### Resource Identification

* :fa-folder: **Category**: Private queues have the **'MSMQ Private Queue'** [category][Categories] name  
* :fa-box-open: **Application**: The [Application][Applications] name is based on the display name from the [Configuration][]. This naming scheme guarantees uniqueness when a queue with the same name exists on different MSMQ services  
* :fa-lightbulb-on: **Resource**: The [Resource][Resources] name is the queue name with the prefix '`private$\`'  

![Private MSMQ Queue Resources][3]  
*Example of 'MSMQ Private Queue' resources in a Monitor View.*

#### What Is Monitored

For private queues, :Nodinite: monitors:

* **Message count** - Number of messages in the queue (fixed or quota-based thresholds)  
* **Message age** - Time the oldest message has been waiting  
* **Quota usage** - Percentage of queue quota consumed (if quota monitoring is enabled)  

#### State Evaluation for Private Queues

Private queues use the [state evaluation rules](#state-reference-table) defined earlier. Thresholds can be configured:

* **Globally** - Apply default thresholds to all private queues  
* **Per queue** - Override global thresholds for specific queues  

See [Edit Thresholds][Edit thresholds] in the Managing MSMQ page for configuration details.

### Public Queues

Public queues are published to Active Directory, making them discoverable across the network. They are used for cross-application messaging in domain environments.

#### Resource Identification

* :fa-folder: **Category**: Public queues have the **'MSMQ Public Queue'** [category][Categories] name  
* :fa-box-open: **Application**: The [Application][Applications] name is based on the display name from the [Configuration][]. This naming scheme guarantees uniqueness when a queue with the same name exists on different MSMQ services  
* :fa-lightbulb-on: **Resource**: The [Resource][Resources] name is the queue name (no prefix)  

#### What Is Monitored

For public queues, :Nodinite: monitors:

* **Message count** - Number of messages in the queue (fixed or quota-based thresholds)  
* **Message age** - Time the oldest message has been waiting  
* **Quota usage** - Percentage of queue quota consumed (if quota monitoring is enabled)  

#### State Evaluation for Public Queues

Public queues use the same [state evaluation rules](#state-reference-table) as private queues. Thresholds can be configured globally or per queue.

### System Queues

System queues are special MSMQ queues used for dead-letter messages, journals, and transactional dead-letter messages. They are read-only from a management perspective.

#### Resource Identification

* :fa-folder: **Category**: System queues have the **'MSMQ System Queue'** [category][Categories] name  
* :fa-box-open: **Application**: The [Application][Applications] name is based on the display name from the [Configuration][]. This naming scheme guarantees uniqueness when a queue with the same name exists on different MSMQ services  
* :fa-lightbulb-on: **Resource**: The [Resource][Resources] name is the queue name  

![MSMQ Queue Resources][5]  
*Example of 'MSMQ System Queue' resources in a Monitor View.*

#### What Is Monitored

For system queues, :Nodinite: monitors:

* **Message count** - Number of dead-letter or journal messages  
* **Message age** - Time the oldest message has been in the system queue  

>[!NOTE]
>You cannot [Post][Managing MSMQ - Post] messages to a system queue. System queues are managed by MSMQ automatically.

#### State Evaluation for System Queues

System queues use the same [state evaluation rules](#state-reference-table) as private and public queues. Thresholds can be configured globally or per queue.

## Journal Monitoring

MSMQ journals store copies of messages for auditing and troubleshooting purposes. If left unchecked, journals can grow uncontrollably and consume disk space.

The :Nodinite: [Message Queueing Monitoring Agent][Message Queuing Agent] monitors MSMQ journals and alerts you when:

* **Journal size exceeds thresholds** - Prevents disk space exhaustion  
* **Journal quota is approaching limits** - Enables proactive capacity planning  

Journal monitoring helps you:

* Avoid service disruptions from full disks  
* Identify queues that require journal cleanup  
* Adjust journal quota settings based on actual usage patterns

## Alert History and Trend Analysis

During root cause analysis or for other purposes, it can be beneficial to understand how frequently issues occur with your MSMQ queues and services. Historical state change data helps you:

* **Identify recurring issues** - Detect queues that consistently breach thresholds  
* **Validate fixes** - Confirm that configuration changes resolved problems  
* **Capacity planning** - Analyze growth trends to predict future resource needs  
* **SLA reporting** - Document queue availability and performance over time  

If your :Nodinite: [Monitor View][Monitor Views] allows it, you can search for historical state changes within a specified time frame. This search can be done for all your queues and MSMQ services or individually. For more details, refer to the [Add or manage Monitor View][] page.

### Searching Alert History

|Search by Date Range|Resource-Specific History|  
|---|---|  
|![Search for alert history for all resources in the Monitor View (7.12)][200]|![Alert history for the selected queue][201]|

___

## :fa-question: Frequently Asked Questions

Use the [Troubleshooting][] guide to find answers to common monitoring questions and known issues.

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

* :fa-wrench: [Managing MSMQ][] - Learn how to edit thresholds, purge messages, and perform remote administrative actions  

## :fa-link-horizontal: Related Topics

* :fa-clipboard-check: [Prerequisites][]  
* :fa-lightbulb-on: [Resources][]  
* :fa-folder: [Categories][]  
* :fa-box-open: [Applications][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/MSMQOverview.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/Categories.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/PrivateQueueResources.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/MSMQCategoryResourcesInMonitorView.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/SystemQueueCategoryResourcesInMonitorView.png
[100]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/MonitorViews/BarChart_StatusCodes.png
[200]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/SearchHistoryByDateTime.png
[201]:{ndm}/Documentation%20Pictures/MonitorAgent/MessageQueueing/MSMQ/ResourceHistory.png

[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.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
[Edit thresholds]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#edit-thresholds
[Expected State]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/Expected%20State.md
[List messages]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#list-messages
[Managing MSMQ]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md
[Managing MSMQ - Post]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#post-message
[Managing MSMQ - Purge]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#purge-messages
[Managing MSMQ - Queue Details]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#queue-details
[Managing MSMQ - Service Details]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Features/Microsoft%20MSMQ/Managing%20MSMQ.md#service-details
[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
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Getting%20started/1.%20Prerequisites.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Message%20Queueing/Troubleshooting/Overview.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md