Username: Password:
 | Register
Home
System Center Forum
  • News
  • Articles
  • How To Guides
  • Downloads
  • Frequently Asked Questions
  • Links
  • Events
  • Contact Us

Scripting Series (Part 1): Updating MOM 2005 Runtime Scripts for OpsMgr and SCE



  Posted by: Pete
  Categories: Essentials 2007, MOM 2005, Management Packs, News, Operations Manager 2007

In the move from MOM 2005 to Operations Manager 2007 and Essentials 2007, I know there is some frustration in the fact that the runtime scripting API had to change. I thought some guidance on converting existing MOM 2005 scripts and creating new ones would be welcome.

So over the next few weeks with a series of scripting articles designed for MOM 2005 folks and folks not to familiar with VBScript, we will tackle Operations Manager scripting in small chunks, providing a new walkthrough every few days. Each successive article will build on our work from the previous in some way. In Part 1, we tackle a simple MOM 2005 Script Conversion and look at the MOMScriptAPI.LogScriptEvent method in an end-to-end walkthrough from concept to implementation.

All samples are Operations Manager 2007 / Essentials 2007 friendly, with versions for both RTM and SP1 included in the management pack download.

  • You can download the full article HERE.
  • You can download the accompanying Scripting Series Part 1 Management Pack HERE.

Feedback is welcome at http://www.systemcenterforum.org/contact

6 Responses to “Scripting Series (Part 1): Updating MOM 2005 Runtime Scripts for OpsMgr and SCE”

  1. Andrzej's "IT Thoughts" Weblog : OpsMgr 2007 Authoring Resources [updated] Says:

    […] 8. Pete’s guide to runtime scripting in OM07 - part 1: http://www.systemcenterforum.org/scripting-series-part-1-updating-mom-2005-runtime-scripts-for-opsmg…. More parts coming. Gr8 stuff, […]

  2. System Center Forum - File and Folder Monitoring Scripts for Operations Manager and Essentials 2007 Says:

    […] Part 1 and Part 2 we touch on file size and file presence (or absence), and show off some custom […]

  3. Ace DDL » File and Folder Monitoring Scripts for Operations Manager and Essentials 2007 Says:

    […] to point you to those, and give you a heads up on part 3 of the scripting series coming soon. In Part 1 and Part 2 we touch on file size and file presence (or absence), and show off […]

  4. Ace DDL » Debugging Runtime Scripts for OpsMgr and SCE 2007 Says:

    […] Updating MOM 2005 Runtime Scripts for OpsMgr Custom Performance Objects in Runtime Scripts […]

  5. Ans Kuik Says:

    I used a script with the MOMScriptAPI.LogScriptEvent method and an alert rule, after that i saw a alert in the console. Now i want to display this alert to special group view, but because of the MOmscriptapi the source computer is Mom Management, and i just want to show this group this alert and not all the alerts of the management server. Do you have solution for my problem
    Thanks in advance

  6. OpsMgr 2007 Authoring Resources [updated] « Andrzej’s Weblog Says:

    […] 8. Pete’s guide to runtime scripting in OM07 - part 1: http://www.systemcenterforum.org/scripting-series-part-1-updating-mom-2005-runtime-scripts-for-opsmg…. More parts coming. Gr8 stuff, […]

Leave a Reply

You must be logged in to post a comment.


Privacy Policy | Terms of Use | © 2005-2007 Pete Zerger