BizTalk Monitoring Alerts

2019-06-01 00:58发布

问题:

I'm looking for the best way for my organization to implement some BizTalk monitoring that will notify us when messages are being suspended.

How can this be done?

回答1:

I would take a look at System Center Operations Manager or BizTalk 360.



回答2:

Did you look at this option, it helps to notify not just suspended instances, you can look out for any states like active, ready-to-run, dehydrated etc

http://blogs.biztalk360.com/what-is-biztalk-service-instances-suspended-active-schedule-etc-and-how-to-monitor-it/



回答3:

If your project is fairly simple, it is also possible to do it entirely in Biztalk, using BAM and BAM Alerts. A good book is 'Pro Business Activity Monitoring in Biztalk 2009' which has a chapter 'Monitoring Biztalk Status using BAM'. Briefly, this is what you do for a simple routing based scenario, where you have a receive port, orchestration/map to transform the incoming message and a send port.

  1. Define a BAM Activity for Inbound/Outbound properties like filename, received (timestamp), sent(timestamp), messageid etc.
  2. Create views and then deploy your BAM Activity.
  3. Configure Tracking Profile Editor to start monitoring the ports and apply your changes.
  4. Create a BAM alert, where the send port timestamp (sent) is empty and the receive port timestamp (received) is in the past 1 hour.
  5. Add subscribers to the newly created Alert.

This will alert any situation, where you have received a file and did not send it out even after 1 hour ( configurable), which most probably will end up as a suspended message.



回答4:

You can use power shell script to get email alert for suspended messages for BizTalk.

https://gallery.technet.microsoft.com/scriptcenter/BizTalk-Suspended-Service-12f5342e

Attached script will be use for monitoring suspended message.