Scripting Overview

Microsoft Operations Manager 2000 (MOM) provides scripting capabilities for flexible, customized monitoring and response to events, alerts, and performance data. You can use the MOM scripting interface or standard Microsoft scripting languages to create scripts that MOM can implement. Scripts can extend MOM event management functions and can provide additional data collection capabilities. MOM can also implement response scripts for events, alerts, or on a scheduled basis.

The MOM scripting feature allows you to extend the capabilities of processing rules and to provide specialized actions to respond to an event, alert, performance threshold, or on a scheduled basis.

MOM can run scripts in association with processing rules. Because MOM is rules-based, many problems can be detected and handled without using scripts. Scripting provides the advanced capabilities sometimes required for detecting and handling problems.

MOM uses Microsoft Active Scripting through scripts and automation COM objects. The products invoke Active Scripting, which identifies the language of the user-provided script, and then calls the appropriate scripting engine. The script runs, interacting with MOM through automation COM objects. The script can also use other automation COM objects. You can write scripts using the MOM script interface or any Active Scripting language, including VBScript, JavaScript, PERL, and Active REXX.

Scripts can run under administrator authority on the agent or Consolidator computer. Scripts are stored in the database and distributed with processing rules by the Agent Manager. Management Pack modules can contain scripts created for a specific application or environment.

Note