How to configure e-mail notifications in Microsoft Operations Manager (MOM) 2005 (920736)



The information in this article applies to:

  • Microsoft Operations Manager 2005

INTRODUCTION

This article describes how to configure e-mail notifications in Microsoft Operations Manager (MOM) 2005. This may be useful if you want to configure MOM 2005 to generate an e-mail notification message in response to an alert.

MORE INFORMATION

To configure e-mail notifications in MOM 2005, follow these steps to create a sample notification for a Service Stopped event. This event is Event ID 7036.

Note These steps assume that the Simple Mail Transfer Protocol (SMTP) server that you specify as the e-mail server has been correctly configured. The SMTP server must also be able to successfully send an e-mail message to a valid mailbox that is located on an e-mail server.
  1. Create a new operator in the MOM 2005 Administrator console. The lets the particular user receive notifications. To do this, follow these steps:
    1. Start the MOM 2005 Administrator Console. To do this, click Start, point to All Programs, point to Microsoft Operations Manager 2005, and then click Administrator Console.
    2. Expand Microsoft Operations Manager ServerName, expand Management Packs, expand Notification, and then expand Notification Groups.
    3. Right-click Operations Manager Notification Testing, and then click Properties.
    4. In the Notification Group Properties (GroupName) dialog box, click New Operator.
    5. In the Operator Properties - General dialog box, type the user name of the new operator in the Name box.
    6. Leave the Enabled check box selected, and then click Next.
    7. In the Operator Properties - Email dialog box, click to select the Email this operator check box, and then type the recipient's e-mail address in the Email address box. For example, type User@example.com in the Email address box.
    8. Make sure that the Always email this operator option is selected, and then click Next.
    9. In the Operator Properties - Page dialog box, click to clear the Page this operator check box if this check box is selected, and then click Next.
    10. In the Operator Properties - Command dialog box, click to clear the Notify this operator by external command check box if this check box is selected, and then click Finish.

      You return to the Notification Group Properties (GroupName) dialog box.
    11. In the Available operators list, click the operator that you created in step 5, and then click <-- to move the operator to the Group operators list.
    12. Click Apply, and then click OK.
    13. In the MOM 2005 Administrator console, click Operators under Notification Groups. The new operator appears in the right pane. Additionally, Yes appears in the Enabled column and in the Email column for this operator.
  2. Configure the E-mail server. To do this, follow these steps:
    1. Start the MOM 2005 Administrator console.
    2. Expand Microsoft Operations Manager ServerName, expand Administration, and then click Global Settings.
    3. In the right pane, right-click Email Server, and then click Properties.
    4. In the Email Server dialog box, click the Email Server tab.
    5. In the Server name box, type the name of the SMTP server. For example, type Server1.example.com.
    6. In the Return address box, type a valid return e-mail address.
    7. Click Apply, and then click OK.
  3. Create a new rule in the MOM 2005 rule group. To do this, follow these steps:
    1. Start the MOM 2005 Administrator console.
    2. Expand Microsoft Operations Manager ServerName, expand Management Packs, expand Rule Groups, and then expand Microsoft Operations Manager (enabled).
    3. Right-click Event Rules, and then click Create Event Rule.
    4. In the Select Event Rule Type dialog box, click Alert on or Respond to Event (Event), and then click Next.
    5. In the Event Rule Properties - Data Provider dialog box, click System in the Provider name list, and then click Next.
    6. In the Event Rule Properties - Criteria dialog box, click to select the with event id check box.
    7. In the box that is next to the with event id check box, type 7036, and then click Next.
    8. In the Event Rule Properties - Schedule dialog box, click Next.
    9. In the Event Rule Properties - Alert dialog box, click the select the Generate alert check box, click Error in the Alert severity list, and then click Next.
    10. In the Event Rule Properties - Alert Suppression dialog box, click to clear the Suppress duplicate alerts check box, and then click Next.
    11. In the Event Rule Properties - Responses dialog box, click Add, and then click Send a notification to a Notification Group.
    12. In the Send a notification to a Notification Group dialog box, click the Notification tab, click Operations Manager Notification Testing in the Notification group list, and then click OK.
    13. Click Next, and then click Next in the Event Rule Properties - Knowledge Base dialog box.
    14. In the Event Rule Properties - General dialog box, type Generate e-mail notification on Event ID 7036 in the Rule Name box, and then click Finish.
  4. Verify whether the rule was successfully created. To do this, follow these steps:
    1. In the MOM 2005 Administrator console, expand Management Packs, expand Rule Groups, expand Microsoft Operations Manager (enabled), and then click Event Rules.
    2. Verify whether the Generate e-mail notification on Event ID 7036 rule appears in the right pane.

      Note To view the properties of this rule, right-click the rule, and then click Properties.
  5. Cause Event ID 7036 to occur. To do this, follow these steps:
    1. Log on to the computer that is running MOM 2005 by using an account that has administrator rights.
    2. Click Start, click Run, type services.msc, and then click OK.
    3. In the Services dialog box, right-click SQL Server (MSSQLSERVER), and then click Stop. Click Yes if you are prompted to stop the dependent services.
    4. Right-click SQL Server (MSSQLSERVER), and then click Start. Then start any dependent services that were stopped.
    5. Start Event Viewer, and then verify whether Event ID 7036 is logged in the System event log. To start Event Viewer, click Start, click Run, type eventvwr, and then click OK.
  6. Verify whether the alert was successfully generated. To do this, follow these steps:
    1. Start the MOM 2005 Operator console. To do this, click Start, point to All Programs, point to Microsoft Operations Manager 2005, and then click Operator Console.
    2. In the Event Views pane, click Alerts.
    3. In the Alerts pane, verify whether the Service Unavailable alert refers to the stopped SQL Server (MSSQLSERVER) service.
    4. In the Event Views pane, click Events.
    5. Expand All: Event Views, and then click Events.
    6. Verify whether Event ID 7036 appears in the right pane.

REFERENCES

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

837851 How to configure an Internet Information Services SMTP virtual server to archive or to remove messages in an Exchange Server 2003 test environment

885741 "Failed to send SMTP message" error when MOM 2005 tries to send SMTP e-mail notification response


Modification Type:MajorLast Reviewed:7/5/2006
Keywords:kbhowto kbinfo KB920736 kbAudITPRO