Continuing in our series of blogs, Customer feedback getting Answered, where we will be trying to address and answer some of the issues, where a workaround is possible, rather than awaiting a new feature release.
Today we will address an issue relating to BizTalk Health Monitor (BHM) integration in BizTalk360.
Issue at hand
One of our existing customers posted the following feedback request: http://feedback.biztalk360.com/forums/331695-biztalk360-operations/suggestions/20567692-bhm-bt360-profile-use-monitoring-profile
He wanted to specify or change the BHM Monitoring Profile that BizTalk360 should use.
Monitoring Profile in BHM
The BizTalk snap-in, “BizTalk Health Monitor” (aka “BHM”), has so been created to help you easily monitor the health of your BizTalk environment. BHM is based on the same engine as MBV. This snap-in can be added to the existing BizTalk Administration Console or can be run individually in its own MMC window.
A Monitoring profile is in fact a BHM profile, but configured specifically to execute a short selection of critical BHM queries/rules and custom rules checking the state of given ports, orchestrations, host instances, queues and BizTalk databases sizes and raise critical warnings detected in a log.
Current Working of BizTalk360 integrated BHM
The BizTalk360 product integrates with BHM, but currently has the limitation that you cannot specify a profile, that is stored in BHM, which should be scheduled and run at those specific times.
If you wish for BizTalk360 to run a certain BHM profile – Follow the below workaround.
- First create a BHM Profile using the ‘BizTalk Health Monitor’
You can create a new Monitoring Profile by right clicking on the BizTalk Health Monitor node and select New ->Monitoring Profile.
- Select those rules you wish to run as shown below in the screenshot.
- Save the Profile. This will automatically save a copy in the folder – C:\ProgramData\Microsoft\BizTalkHealthMonitor with the name MBVSETTINGS_.xml
- Now you need to copy this XML file and paste it in the BizTalk360 folder – C:\Program Files (x86)\Kovai Ltd\BizTalk360\Service.
- Delete the existing MBVSETTINGS.xml and rename the copied file to MBVSETTINGS.xml
Now BizTalk360 has been setup to pick that Profile to execute in it’s scheduled runs. Then, the next time you hit -> ‘Run BHM now‘, or BizTalk360 scheduled runs for BHM start, BizTalk360 will pick that profile and run the rules for it.
Hope you found this workaround helpful.
Thanks to our customer Joost for his help in the investigation.