Download - Automating Ensemble Monitoring and Reporting
![Page 1: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/1.jpg)
Automating Ensemble Monitoring and
Reporting
Randy PallottaMeredith Staszak
![Page 2: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/2.jpg)
Agenda
Monitoring Overview
Generating and Handling Alerts
Reporting
System Monitoring
Workflow
![Page 3: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/3.jpg)
Why do I Need to Monitor?
• Real time status of Integration Environment
• Catch problems before they occur
• Peace of mind
![Page 4: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/4.jpg)
What do I Need to Monitor
• Integration Engine Status
• Overall System Status
![Page 5: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/5.jpg)
Types of Monitoring
• Passive
• Active
![Page 6: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/6.jpg)
Passive Monitoring
• Ensemble Monitor
• Queues
• Jobs
• Event Log
![Page 7: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/7.jpg)
Active Monitoring
• AlertOnError
• AlertGracePeriod
• AlertOnBadMessage (Router)
![Page 8: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/8.jpg)
Active Monitoring
• QueueCountAlert
• QueueWaitAlert
• Inactivity Timeout
![Page 9: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/9.jpg)
Exercise 1 – Generating Alerts
• In this exercise, we are going to generate alerts based on the out-of-the-box settings.
![Page 10: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/10.jpg)
Handling Alerts
• Ens.AlertRequest
– SourceConfigName
– AlertText
– AlertDestination
• Ens.Alert
![Page 11: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/11.jpg)
Exercise 2 – Handling Alerts
• In this exercise we are going to route our alerts to different people based on its source
![Page 12: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/12.jpg)
Sending Email
• EnsLib.EMail.OutboundAdapter
• EnsLib.EMail.AlertOperation
– Uses the %Net.MailMessage class
• SSL/TLS support added in 2010.2
![Page 13: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/13.jpg)
Sending Email
• Demo
![Page 14: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/14.jpg)
Ens.MessageHeader
• Ensemble Master Message Index
• Projected as SQL table
• Useful message meta-data such as source and target, time created, time processed, session, status
![Page 15: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/15.jpg)
Ens.MessageHeader
![Page 16: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/16.jpg)
Ens.MessageHeader
![Page 17: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/17.jpg)
Zen Reports
![Page 18: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/18.jpg)
Exercise 3
• In Monitor Namespace, view output of GlobalSummit11.Sample.SampleMsgVolumeReport
![Page 19: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/19.jpg)
System Free Space Monitor
• Task Manager
• Use case:
– Get email when DB free space falls below threshold
![Page 20: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/20.jpg)
Exercise 4
• Examine GlobalSummit11.Sample.SampleOSFreeSpaceMonitor
• Schedule task using the Ensemble Task Manager, view output
• Strategies: “Silent” monitor runs every five minutes, “Loud” Monitor runs daily at 9 AM. One monitor for DB, one monitor for Journals.
![Page 21: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/21.jpg)
Ensemble WorkFlow engine
• Ensemble provides a very powerful workflow engine
• Among other uses, can be used to incorporate Human Intervention to deal with variances in otherwise real-time automated HL7 interfaces
• Automatically provides User Interface for handling these variances with little/no Web Development required (!)
• Missing MRN? Missing DOB?
![Page 22: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/22.jpg)
Ensemble WorkFlow engine
• Workflows are built using the graphical “Business Process Editor”
![Page 23: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/23.jpg)
Exercise 5
• Examine the “MissingMRN” Workflow Business Process
• Run sample messages (one with MRN, one without MRN) through the sample production
• Examine Workflow task in the DeepSee User Portal and resolve MRN issue
• Use Message Trace tool to follow flow of messages through the production
![Page 24: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/24.jpg)
Join the Global Summit Community
We’ve established an online community where you can:
• talk about the Global Summit
• get helpful product information
• share your thoughts about sessions
• ask questions of presenters
• assemble a group to meet for dinner or social events, etc.
community.intersystems.com
![Page 25: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/25.jpg)
We’d love your feedback
If you have a minute, we’d love your feedback on the academy you just attended.
Go to…
intersystems.com/survey
Select the day and time of the academy you attended
and complete our short evaluation form.
Thank you
![Page 26: Automating Ensemble Monitoring and Reporting](https://reader034.vdocument.in/reader034/viewer/2022042601/5569ec2cd8b42ac1468b4db3/html5/thumbnails/26.jpg)
Automating Ensemble Monitoring and
Reporting
Randy PallottaMeredith Staszak