I’ve been on a few projects where clients have requested there be some kind of monitoring associated with BizTalk. Sometimes they want all error messages that BizTalk might spit out to the Event Log emailed to them.
For these circumstances I’ve created a simple .EXE that takes the following 4 parameters:
Argument 1 = ToEmail
Argument 2 = FromEmail
Argument 3 = SmtpServer
Argument 4 = Covast EDI Accelerator 2004 – Subsystem ErrorFlag Y/N
I then set up a Scheduled Task to run a batch file that runs the Executable.
The .bat looks like this:
“C:\Biztalk\Event Log Emailer\EventLogEmailer.exe” [email protected] [email protected] YourSMTPServerName.smtp.com N
You’ll see it comes in an HTML formatted message. I run it at 1 AM, and it gives yesterday’s data.
Currently it’s set to pick up BizTalk 2004, 2006, HIPAA, and CovastErrors(parameter flag can be used). Tell me if you’d like other parameters, or if you’d like one for a completely different application other than BizTalk.