Results 1 to 4 of 4

Thread: Queue Monitoring - ms exchange 2000 / 2003

  1. #1
    Russ Guest

    Queue Monitoring - ms exchange 2000 / 2003

    Hello,

    I am looking to track messages on ms exchange 2000 / 2003 queues using an
    api, ie for a given queue, determine the number of messages and the detail of
    those messages (message ids). Could you suggest a suitable api(s)?

    Regards

    Mike

  2. #2
    Glen Scales [MVP] Guest
    WMI is the API that you what to have a look at download the Exchange SDK
    from http://msdn.microsoft.com/exchange and have a look at WMI in the
    Reference section. There are some differences in 2000 to 2003 there are a
    lot more WMI classes available to do this type of thing now under 2003 but
    you should be able to still do what you want to under 2000.

    Cheers
    Glen

    "Russ" <Russ@discussions.microsoft.com> wrote in message
    news:F4EAB99F-E27B-4DB4-93CD-D59C2C13B24C@microsoft.com...
    Hello,

    I am looking to track messages on ms exchange 2000 / 2003 queues using an
    api, ie for a given queue, determine the number of messages and the detail
    of
    those messages (message ids). Could you suggest a suitable api(s)?

    Regards

    Mike

  3. #3
    Russ Guest
    The Exchange_Queue class has a CanEnumAll property which indicates whether
    the queue can enumerate all messages that it contains. How do we enumerate
    the messages ? Via the Exchange_Queued_Message class ?

    "Glen Scales [MVP]" wrote:

    WMI is the API that you what to have a look at download the Exchange SDK
    from http://msdn.microsoft.com/exchange and have a look at WMI in the
    Reference section. There are some differences in 2000 to 2003 there are a
    lot more WMI classes available to do this type of thing now under 2003 but
    you should be able to still do what you want to under 2000.

    Cheers
    Glen

    "Russ" <Russ@discussions.microsoft.com> wrote in message
    news:F4EAB99F-E27B-4DB4-93CD-D59C2C13B24C@microsoft.com...
    Hello,

    I am looking to track messages on ms exchange 2000 / 2003 queues using an
    api, ie for a given queue, determine the number of messages and the detail
    of
    those messages (message ids). Could you suggest a suitable api(s)?

    Regards

    Mike


  4. #4
    Glen Scales [MVP] Guest
    Yes but when your using the Exchange_QueuedMessage class make sure you query
    it with the key values for your queue
    (linkid,linkname,queueid,queuename,protocol,virtua lmachine,virtualserver) .
    eg

    Select * From Exchange_QueuedMessage Where
    LinkId='{68A9F027-2B10-4D16-90EB-E47203521557}/46151108/46151112' And
    LinkName='DeferredDeliveryQueue' And ProtocolName='SMTP' And
    QueueId='{0C92D8DD-6FF6-4450-8A3D-C3A107D53CB9}/46154372/46154376' And
    QueueName='DeferredDeliveryQueue' And VirtualMachine='servername' And
    VirtualServerName='1'

    Cheers
    Glen

    "Russ" <Russ@discussions.microsoft.com> wrote in message
    news:6C2DC620-4A91-4435-A23B-25AEF46AB691@microsoft.com...
    The Exchange_Queue class has a CanEnumAll property which indicates whether
    the queue can enumerate all messages that it contains. How do we
    enumerate
    the messages ? Via the Exchange_Queued_Message class ?

    "Glen Scales [MVP]" wrote:

    WMI is the API that you what to have a look at download the Exchange SDK
    from http://msdn.microsoft.com/exchange and have a look at WMI in the
    Reference section. There are some differences in 2000 to 2003 there are
    a
    lot more WMI classes available to do this type of thing now under 2003
    but
    you should be able to still do what you want to under 2000.

    Cheers
    Glen

    "Russ" <Russ@discussions.microsoft.com> wrote in message
    news:F4EAB99F-E27B-4DB4-93CD-D59C2C13B24C@microsoft.com...
    Hello,

    I am looking to track messages on ms exchange 2000 / 2003 queues using
    an
    api, ie for a given queue, determine the number of messages and the
    detail
    of
    those messages (message ids). Could you suggest a suitable api(s)?

    Regards

    Mike


Similar Threads

  1. Monitoring tools for Exchange 2003 SG/DB's
    By Bill Bradley in forum Clients
    Replies: 2
    Last Post: 12-27-2005, 01:58 AM
  2. Monitoring Exchange 2003
    By Exchange2003 in forum Administration
    Replies: 1
    Last Post: 10-18-2005, 09:58 AM
  3. Exchange 2000 Journaling/Monitoring
    By Paul Webendorfer in forum Administration
    Replies: 3
    Last Post: 06-01-2005, 08:13 PM
  4. Exchange 2003 monitoring tools
    By DB in forum Clients
    Replies: 1
    Last Post: 04-26-2005, 06:23 AM
  5. Monitoring OWA activity in Exchange 2003
    By Maurice Bishop in forum Administration
    Replies: 3
    Last Post: 03-27-2005, 09:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - CAD Forum