none
Orchestration monitoring RRS feed

  • Question

  • I have a requirement to get alerts on  orchestrations if it runs more than 30 minutes.   I looked at SCOM  and came to know that there is no built in rule to get alert on  this scenario, I need to create a custom rule with sql queries.  Is there any sample I can refer on how to create custom SCOM rules for BizTalk orchestration monitoring ? 

    Friday, July 24, 2015 2:05 PM

Answers

  • Hi Ann ,

    Your requirement need more input here because I don't think   SCOM is the choice to get automated alert in case your process is running more than 30 min  .  There may be business cases ,correlation on ports ,Orchestration waiting for the messages to proceed and like wise . You can Query DTA DB only incase your transaction is completed or in inactive state .For long running transaction i dont think you have option to create automated alert ,instead of this you can trigger a message from Orchestration if it taking much time and define a generic Orchestration responsible for sending email . It all depends on your requirement

    Thanks

    Abhishek

    • Marked as answer by Angie Xu Monday, August 10, 2015 2:46 AM
    Saturday, August 1, 2015 6:03 AM
  • You have two options:

    • You can configure SCOM to monitor for suspended Orchestration instances. By this way you know the orchestration in question is not completed.
    • You can configure rules to check whether any orchestration instance is taking more than configured amount to time to complete.

    Some directions for creating alerts may...

    For suspended Orchestration instances suspended alerts - you can configure this alert looking for an event log entry. When BizTalk orchestration is suspended, its logged with Orchestration name.

    For long instance is taking more than configured amount to time, i think there is rules alert available as part of MP, but I am not sure. If you not you can create a new rule.

    For authoring SCOM rules/monitor, it’s better to post this question on how to configure the above mentioned like rules in the following forums. More SCOM autors vists these forums, you might get some step-by-step guidance.

    Operations Manager – Authoring

    Operations Manager – General



    Please mark as answer or vote as helpful if my reply does

    Sunday, July 26, 2015 6:02 PM
    Moderator
  • This is a late reply.

    I was not able to get alert from SCOM  for a running orchestration.

    How ever I was able to accomplish this by using power shell scripting. Below link has some good powershell for BizTalk

    http://www.biztalkadminsblogging.com/index.php/blog-archive/item/121-monitor-your-biztalk-environment-using-powershell-%E2%80%93-old-dehydrated-instance-monitoring


    • Marked as answer by Ann Elsy Friday, November 13, 2015 10:14 PM
    Friday, November 13, 2015 10:14 PM

All replies

  • Can you explain a bit more on what the actual requirement is?

    Specifically, exactly what condition could cause an Orchestration to run longer than 30 and exactly what constitutes 'running'.

    It's not necessarily wrong to query the DTA database (never, ever query the MessageBox) for this but there may be a better way.

    • Proposed as answer by Angie Xu Monday, August 3, 2015 1:26 AM
    Friday, July 24, 2015 2:46 PM
    Moderator
  • You have two options:

    • You can configure SCOM to monitor for suspended Orchestration instances. By this way you know the orchestration in question is not completed.
    • You can configure rules to check whether any orchestration instance is taking more than configured amount to time to complete.

    Some directions for creating alerts may...

    For suspended Orchestration instances suspended alerts - you can configure this alert looking for an event log entry. When BizTalk orchestration is suspended, its logged with Orchestration name.

    For long instance is taking more than configured amount to time, i think there is rules alert available as part of MP, but I am not sure. If you not you can create a new rule.

    For authoring SCOM rules/monitor, it’s better to post this question on how to configure the above mentioned like rules in the following forums. More SCOM autors vists these forums, you might get some step-by-step guidance.

    Operations Manager – Authoring

    Operations Manager – General



    Please mark as answer or vote as helpful if my reply does

    Sunday, July 26, 2015 6:02 PM
    Moderator
  • Use BizTalk360!

    Best regards, Kjetil :) Please remember to click "Mark as Answer" on the post that helps you. This can be beneficial to other community members reading the thread.

    Monday, July 27, 2015 6:01 PM
  • Hi Ann ,

    Your requirement need more input here because I don't think   SCOM is the choice to get automated alert in case your process is running more than 30 min  .  There may be business cases ,correlation on ports ,Orchestration waiting for the messages to proceed and like wise . You can Query DTA DB only incase your transaction is completed or in inactive state .For long running transaction i dont think you have option to create automated alert ,instead of this you can trigger a message from Orchestration if it taking much time and define a generic Orchestration responsible for sending email . It all depends on your requirement

    Thanks

    Abhishek

    • Marked as answer by Angie Xu Monday, August 10, 2015 2:46 AM
    Saturday, August 1, 2015 6:03 AM
  • This is a late reply.

    I was not able to get alert from SCOM  for a running orchestration.

    How ever I was able to accomplish this by using power shell scripting. Below link has some good powershell for BizTalk

    http://www.biztalkadminsblogging.com/index.php/blog-archive/item/121-monitor-your-biztalk-environment-using-powershell-%E2%80%93-old-dehydrated-instance-monitoring


    • Marked as answer by Ann Elsy Friday, November 13, 2015 10:14 PM
    Friday, November 13, 2015 10:14 PM