Command or Batch Files

You can configure Microsoft Operations Manager 2000 (MOM) to run a command or batch file when a processing rule match occurs. You can run the command or batch file on the agent or Consolidator computer.

For example, you might want to periodically stop and restart a Windows service with a known memory leak to reclaim the memory. You can create a performance threshold rule that monitors memory usage on the service computer. The processing rule generates an alert when memory usage goes over 85 percent and stays that way for a specified period. In the alert response for the event, you can specify that MOM runs a command or batch file containing the NET STOP BADSERVICE and NET START BADSERVICE commands on the monitored computer.

Note