4.38 Transport_QueueStatus

Use this Knowledge Script to monitor the number of messages in Hub Transport server queues:

  • Submission queue, which contains messages waiting to be categorized and routed to a delivery queue.

  • Mailbox delivery queue, which contains messages awaiting delivery to mailboxes on a Mailbox server that is located in the same site as the Hub Transport server.

  • Remote delivery queue, which contains messages awaiting delivery to mailboxes outside the Active Directory site in which the Hub Transport server is located.

  • Poison message queue, which is a quarantine destination for messages identified as potentially fatal to your Exchange Server environment.

  • Unreachable destination queue, which contains messages that cannot be routed to their destinations.

This script raises an event if the length of a queue or the change in the length of a queue exceeds the threshold you set.

This script is a member of the Exchange2007 recommended Knowledge Script Group. For more information, see Section 4.43, Recommended Knowledge Script Group.

4.38.1 Resource Objects

  • Exchange2007_Queue

  • Exchange2007_EdgeTransportServer

  • Exchange2007_HubTransportServer

  • Exchange2010_Queue

  • Exchange2010_EdgeTransportServer

  • Exchange2010_HubTransportServer

  • Exchange2013_Queue

  • Exchange2013_EdgeTransportServer

  • Exchange2013_HubTransportServer

  • Exchange2016_Queue

  • Exchange2016_EdgeTransportServer

  • Exchange2016_HubTransportServer

  • Exchange2019_Queue

  • Exchange2019_EdgeTransportServer

  • Exchange2019_HubTransportServer

4.38.2 Default Schedule

By default, this script runs every 15 minutes.

4.38.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

General Settings

Job failure event notification

Event severity when job fails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the Transport_QueueStatus job fails. The default is 5.

Monitor Submission Queue

Event Notification

Raise event if number of queued messages exceeds threshold?

Select Yes to raise an event if the number of messages in the submission queue exceeds the threshold you set. The default is Yes.

Threshold - Maximum number of messages in queue

Set the maximum number of messages that can be waiting in the submission queue before an event is raised. The default is 100 messages.

Event severity when number of messages in queue exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of messages in the submission queue exceeds the threshold you set. The default is 15.

Raise event if increase in queued messages exceeds threshold?

Select Yes to raise an event if the percentage of increase in the number of messages in the submission queue exceeds the threshold. The script measures the rate of increase since the last iteration of the job. The default is No.

Threshold - Maximum percent increase in queued messages since last job iteration

Set the maximum acceptable percentage of increase in queue size since the last job iteration. AppManager raises an event if the percentage of increase exceeds this value. The default is 50%.

Event severity when increase in queued messages exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the percentage of increase in the number of messages in the submission queue exceeds the threshold. The default is 15.

Data Collection

Collect data for number of messages in the submission queue?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of messages in the submission queue during the monitoring interval. The default is No.

Monitor Mailbox Delivery Queue

Event Notification

Raise event if number of queued messages exceeds threshold?

Select Yes to raise an event if the number of messages in the mailbox delivery queue exceeds the threshold you set. The default is Yes.

Threshold - Maximum number of messages in queue

Set the maximum number of messages that can be waiting in the mailbox delivery queue before an event is raised. The default is 250 messages.

Event severity when number of messages in queue exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of messages in the mailbox delivery queue exceeds the threshold you set. The default is 15.

Raise event if increase in queued messages exceeds threshold?

Select Yes to raise an event if the percentage of increase in the number of messages in the mailbox delivery queue exceeds the threshold. The script measures the rate of increase since the last iteration of the job. The default is No.

Threshold - Maximum percent increase in queued messages since last job iteration

Set the maximum acceptable percentage of increase in queue size since the last job iteration. AppManager raises an event if the percentage of increase exceeds this value. The default is 50%.

Event severity when increase in queued messages exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the percentage of increase in the number of messages in the mailbox delivery queue exceeds the threshold. The default is 15.

Data Collection

Collect data for number of messages in the mailbox delivery queue?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of messages in the mailbox delivery queue during the monitoring interval. The default is No.

Monitor Remote Delivery Queue

Event Notification

Raise event if number of queued messages exceeds threshold?

Select Yes to raise an event if the number of messages in the remote delivery queue exceeds the threshold you set. The default is Yes.

Threshold - Maximum number of messages in queue

Set the maximum number of messages that can be waiting in the remote delivery queue before an event is raised. The default is 250 messages.

Event severity when number of messages in queue exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of messages in the remote delivery queue exceeds the threshold you set. The default is 15.

Raise event if increase in queued messages exceeds threshold?

Select Yes to raise an event if the percentage of increase in the number of messages in the remote delivery queue exceeds the threshold. The script measures the rate of increase since the last iteration of the job. The default is No.

Threshold - Maximum percent increase in queued messages since last job iteration

Set the maximum acceptable percentage of increase in queue size since the last job iteration. AppManager raises an event if the percentage of increase exceeds this value. The default is 50%.

Event severity when increase in queued messages exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the percentage of increase in the number of messages in the remote delivery queue exceeds the threshold. The default is 15.

Data Collection

Collect data for number of messages in the remote delivery queue?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of messages in the remote delivery queue during the monitoring interval. The default is No.

Monitor Poison Message Queue

Event Notification

Raise event if number of queued messages exceeds threshold?

Select Yes to raise an event if the number of messages in the poison message queue exceeds the threshold you set. The default is Yes.

Threshold - Maximum number of messages in queue

Set the maximum number of messages that can be waiting in the poison message queue before an event is raised. The default is 0 (zero) messages.

Event severity when number of messages in queue exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of messages in the poison message queue exceeds the threshold you set. The default is 15.

Raise event if increase in queued messages exceeds threshold?

Select Yes to raise an event if the percentage of increase in the number of messages in the poison message queue exceeds the threshold. The script measures the rate of increase since the last iteration of the job. The default is No.

Threshold - Maximum percent increase in queued messages since last job iteration

Set the maximum acceptable percentage of increase in queue size since the last job iteration. AppManager raises an event if the percentage of increase exceeds this value. The default is 50%.

Event severity when increase in queued messages exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the percentage of increase in the number of messages in the poison message queue exceeds the threshold. The default is 15.

Data Collection

Collect data for number of messages in the poison message queue?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of messages in the poison message queue during the monitoring interval. The default is No.

Monitor Unreachable Destination Queue

Event Notification

Raise event if number of queued messages exceeds threshold?

Select Yes to raise an event if the number of messages in the unreachable destination queue exceeds the threshold you set. The default is Yes.

Threshold - Maximum number of messages in queue

Set the maximum number of messages that can be waiting in the unreachable destination queue before an event is raised. The default is 100 messages.

Event severity when number of messages in queue exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of messages in the unreachable destination queue exceeds the threshold you set. The default is 15.

Raise event if increase in queued messages exceeds threshold?

Select Yes to raise an event if the percentage of increase in the number of messages in the unreachable destination queue exceeds the threshold. The script measures the rate of increase since the last iteration of the job. The default is No.

Threshold - Maximum percent increase in queued messages since last job iteration

Set the maximum acceptable percentage of increase in queue size since the last job iteration. AppManager raises an event if the percentage of increase exceeds this value. The default is 50%.

Event severity when increase in queued messages exceeds threshold

Set the severity level, from 1 to 40, to indicate the importance of an event in which the percentage of increase in the number of messages in the unreachable destination queue exceeds the threshold. The default is 15.

Data Collection

Collect data for number of messages in the unreachable queue?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of messages in the unreachable destination queue during the monitoring interval. The default is No.