exchange queue monitoring

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
CCKS
Posts: 1
Joined: Wed Sep 02, 2009 3:51 pm

exchange queue monitoring

Post by CCKS »

I am looking for a way to confirm that the messages queues in exchange are still accepting and delivering mail. Any suggesions on how to configure this test?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think you may use WMI test method and query like
Select NumberOfMessages from ExchangeQueue
http://msdn.microsoft.com/en-us/library ... G.65).aspx

On the other hand, there is only 1 way to be 100% sure that mail servers and all network components are working fine: use MailReplay test method. HostMonitor sends an e-mail through the specific mail server and then checks when the message becomes available in target mailbox
http://www.ks-soft.net/hostmon.eng/mfra ... #mailrelay

Regards
Alex
rasc
Posts: 95
Joined: Sun Oct 11, 2009 8:25 am

Post by rasc »

unfortunately Hostmons WMI-Explorer does not offer the 'Applications' thread wher the queue is in WMI.

How exactly can I access the queue size (or other Exchange-WMI-parameters using WMI Explorer (using hostmon)?

Thank you.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

rasc wrote:unfortunately Hostmons WMI-Explorer does not offer the 'Applications' thread wher the queue is in WMI.

How exactly can I access the queue size (or other Exchange-WMI-parameters using WMI Explorer (using hostmon)?

Thank you.
You can create a WMI test in Host Monitor, select \\COMPUTERNAME\ROOT\MicrosoftExchangeV2:Exchange_Queue namespace and use the following query
Select Size from Exchange_Queue where QueueID='QueueID'
where QueueName: ID of the queue to check size

Regards,
Tom
rasc
Posts: 95
Joined: Sun Oct 11, 2009 8:25 am

Post by rasc »

Works over here with "select Size from Exchange_Queue where QueueName='DeferredDeliveryQueue'" as query.

IMPORTANT! [COMPUTERNAME] must be the name of the computer, it does not work (overe here) with e.g. \\192.168.2.9\ROOT\MicrosoftExchangeV2:Exchange_Queue


Thank you Tom!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

rasc wrote:Works over here with "select Size from Exchange_Queue where QueueName='DeferredDeliveryQueue'" as query.

IMPORTANT! [COMPUTERNAME] must be the name of the computer, it does not work (overe here) with e.g. \\192.168.2.9\ROOT\MicrosoftExchangeV2:Exchange_Queue


Thank you Tom!
Glad to hear that :)
You're welcome

Regards,
Tom
Post Reply