Microsoft KB Archive/298470

= Functions and Configuration Parameters of the Various Service-Related Scripts =

Article ID: 298470

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-



This article was previously published under Q298470



SUMMARY
This article describes the functions and parameters of the various service-related scripts in Microsoft Operations Manager (MOM).



MORE INFORMATION
The Service Bounce script stops and then restarts a service in the same process. The configuration parameters are ServiceName, ComputerName, NumSecsBetweenRetries (number of seconds between retries), and NumAttempts (number of times to retry an unsuccessful bounce).

The Service Bounce Asynchronous script stops a service and then starts it again in a separate process. For more information about the Service Bounce Asynchronous script, refer to the following article in the Microsoft Knowledge Base:

295916 Service Bounce Asynchronous Script Stops the OnePoint Service But Does Not Restart It

The Service Shutdown script stops a service. Available parameters are ServiceName, ComputerName, NumSecsBetweenRetries, and NumAttempts (number of times to retry an unsuccessful shutdown).

The Service Check Status script checks the current status of a service. Available parameters are ServiceName, NumAttempts, and NumSecsBetweenRetries. The Service Check Status script raises one of the following events:
 * 1000 - Service is running
 * 1001 - Service is stopped or paused
 * 1002 - Service is hung in a pended state
 * 1003 - Service state could not be determined

Note that you should always modify the parameters for any script from within a rule, on the Response tab. Modifying a script's parameters from the global configuration location modifies the script's parameters for all rules that are associated with the script.

To gain access to a script, in the MOM Administrator Console, expand Rules, expand Advanced, and then click Scripts.

Keywords: kbenv kbinfo KB298470

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.