title: Monitoring remotely Biztalk 2006 & 2010 Servers using C# and WMI
body: <p>I need implement application (in SysTray) that monitors Biztalk 2006 and 2010 servers (Biztalk 2006 installed in Windows 2003 machines, Biztalk 2010 installed in Windows 2008 machines) using C#.</p>
  
  <p>I thinks I should use WMI. Perphaps any API or another components ??</p>
  
  <p>It will be useful any sample good source code (codeplex, codeproject, sourceforge, etc)</p>
  
  <p>I want install my Monitor application in a PC Windows XP without Biztalk installed, and monitoring Biztalk Server 2006 - 2010 (installed in Windows 2003 or Windows 2008).</p>
  
  <p>edit: from MSDN forums</p>
  
  <p><a href="http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/7b35ad84-d800-4b7d-9f13-3855c3a2c2e1" rel="nofollow noreferrer">http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/7b35ad84-d800-4b7d-9f13-3855c3a2c2e1</a></p>
  
  <p>•   Monitoring a BizTalk Server is complex, because there is a huge amount of information to monitor. This is best done with dedicated tools such as System Center Operations Manager , for instance. Or alternatives like IPM (formerly known as BizMon), Minotaur , or FRENDS Helium .</p>
  
  <p>However, if you do need special-purpose software to monitor a BizTalk Server while logged on, you will need to make use of the various programming interfaces available to you:</p>
  
  <p>•   Microsoft.BizTalk.ExplorerOM : (sample code for instance this post ) 
  For basic application management (schemas, maps, pipelines and orchestrations) you could use these interfaces to monitor missing application ressources, for instance.</p>
  
  <p>•   The BizTalk WMI Provider : (samples ) 
  For more advanced platform management (hosts, host instances, send and receive handlers, etc.) You would use these interfaces to implement watchdogs around running host instances, for example.</p>
  
  <p>•   Microsoft.RuleEngine and Microsoft.BizTalk.RuleEngineExtensions : 
  For creating, importing, exporting or deploying BRE policies and vocabularies. You would use these interfaces to create custom rule set tracking interception.</p>
  
  <p>Beyond that, there are a myriad of other assemblies and programming interfaces for dedicated tasks on BizTalk, be it deployment and installation, managing running or suspending instances, etc.</p>
  
  <p>In fact, this vast diversity in programming interfaces and paradigms is what prompted Maxim Labelle to create a unified BizTalk Management Automation Layer as part of our PowerShell provider for BizTalk Server .</p>
  
  <p>Another option is using PAL with Performance Counters you can capture.</p>
  
  <p>More edit:
  for access remotely using WMI. My question is about access remotely to Biztalk 2006 Server using WMI</p>
  
  <p><a href="https://stackoverflow.com/questions/3577338/using-wmi-to-uninstall-applications-remotely">using WMI to uninstall applications remotely</a></p>
  
  <p><a href="http://www.codeproject.com/Messages/3396385/Remote-access-with-WMI.aspx" rel="nofollow noreferrer">http://www.codeproject.com/Messages/3396385/Remote-access-with-WMI.aspx</a></p>
  
  <p>updated: (Biztalk 2006 installed in Windows 2003 machines, Biztalk 2010 installed in Windows 2008 machines) </p>
  
  <p>edited: open source project BizTalk Control Center (BCC) </p>
  
  <p>biztalkcontrolcenter.codeplex.com</p>