Microsoft Knowledge Base Email Alertz

This article explains how to continuously check the status of a service by using a Timed Event processing rule that responds with a script to report the status of the service.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

How to use a Timed Event processing rule to check the status of a service

Article ID: 298484 - View products that this article applies to.
This article was previously published under Q298484

On This Page

SUMMARY

This article explains how to continuously check the status of a service by using a Timed Event processing rule that responds with a script to report the status of the service.

MORE INFORMATION

The Timed Event processing rule responds with a script, which generates events that are based on the result of the rule's service query. You can also create an appropriate alert that reports on these events.

For Microsoft Operations Manager 2000

How to create a Timed Event processing rule

  1. In Microsoft Management Console (MMC), expand Rules, expand Processing Rule Groups, and then expand the processing rule group that you want to use.
  2. Right-click the Event Processing Rule folder, and then click Alert on or Respond to an Event.
  3. Click New. In the Select Provider Type window that appears, the Provider Type changes to Timed Event. Click OK after you make a selection.
  4. In the Provider box, click Schedule every 15 minutes, and then click Finish to close the Timed Event Provider Properties - Schedule dialog box.
  5. Click Next, specify a schedule for processing the rule, and then click Next.
  6. Click Add, and then click Launch a script.
  7. Under Script name, click Service Check Status, and then select the parameter that is labeled Service Name in the Script parameters box.
  8. Click Edit Script Parameters, change the value to include the name of the service that you want to monitor, and then click OK. Click OK again, and then click Next.
  9. Add any knowledge-base information that is relevant to the rule, click Next, name the rule, and then click Finish.

How to Create an Alert on the Status of a Service

  1. In the MMC, expand Rules, expand Processing Rule Groups, and then expand the processing rule group where you defined the Timed Event script.
  2. Right-click the Event Processing Rule folder, and then click Alert on or Respond to an Event.
  3. In the Provider box, click Script-generated Data. The provider type changes to Generic.
  4. Click Next, and then enter values in the Criteria dialog box:
    1. Click from Source, and then enter Service Check Status.
    2. Click with Event ID, and then enter 1001.
  5. Click Next, and then click Next again.
  6. Click to select Generate an Alert, assign the values that you want to use, and then click Next.
  7. Add any knowledge-base information that is relevant to the rule, click Next, name the rule, and then click Finish.

For Microsoft Operations Manager 2005

How to create a Timed Event processing rule

  1. In MOM 2005 Administrator Console, expand Management Packs, expand Rule Groups, and then expand the processing rule group that you want to use.
  2. Right-click Event Rules, and then click Alert on or Respond to an Event.
  3. Click New.
  4. In the Select Provider Type dialog box, click Timed Event, and then click OK.
  5. In the Timed Event Provider Properties - Schedule dialog box, leave the default settings, and then click Finish.
  6. Click Next, specify a schedule for processing the rule, and then click Next.
  7. Leave the default settings in the Event Rule Properties - Alert Suppression dialog box, and then click Next.
  8. Click Add, and then click Launch a script.
  9. Under Script name, click Service Check Status, and then select the parameter that is labeled Service Name in the Script parameters box.
  10. Click Edit Parameter, change the value to include the name of the service that you want to monitor, and then click OK. Click OK again, and then click Next.
  11. Add any knowledge-base information that is relevant to the rule, click Next, name the rule, and then click Finish.

How to create an alert on the status of a service

  1. In MOM 2005 Administrator Console, expand Management Packs, expand Rule Groups, and then expand the processing rule group that you want to use.
  2. Right-click Event Rules, and then click Alert on or Respond to an Event.
  3. In the Provider name list, select Script-generated Data.

    The Provider type changes to Generic.
  4. Click Next, and then enter values in the Event Rule Properties - Criteria dialog box:
    1. Click from source, and then type Service Check Status.
    2. Click with event ID, and then type 1001.
  5. Click Next, specify a schedule for processing the rule, and then click Next.
  6. Click to select Generate alert, assign the values that you want to use, and then click Next.
  7. Leave the default settings in the Event Rule Properties - Alert Suppression dialog box, and then click Next.
  8. Add any knowledge-base information that is relevant to the rule, click Next, name the rule, and then click Finish.

Properties

Article ID: 298484 - Last Review: October 27, 2006 - Revision: 2.2
APPLIES TO
  • Microsoft Operations Manager 2000 Enterprise Edition
  • Microsoft Operations Manager (MOM) 2005
Keywords: 
kbenv kbhowto kbinfo kbsetup KB298484
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate