Alan Goodman: “Since the introduction of this feature we have gotten several questions/comments about integrating this new VMM feature with maintenance mode in System Center Operations Manager. Well check out the attached MP. This MP will monitor the VMM server and track when hosts are put into maintenance mode and then call into Operations Manager and put the respective host object into maintenance mode and vice versa, watch for hosts being removed from maintenance mode in VMM and then taking the respective host object in OpsMgr out of maintenance mode.”
For those of you familiar with management packs, you can see with a pretty simple and straight forward MP you can easily tie together the states of your hosts. While the MP has not been extensively tested it should give you a good idea on how to accomplish the task at hand.
Installation Note: This management pack is intended for use with Operations Manager 2007 or Operations Manager 2007 R2 with Virtual Machine Manager 2008 R2, and requires at least the beta version or later or the VMM 2008 R2 management pack.
Read more and get MP from source.