Microsoft KB Archive/920736

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

Article ID: 920736

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 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.  Create a new operator in the MOM 2005 Administrator console. The lets the particular user receive notifications. To do this, follow these steps:  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. Expand Microsoft Operations Manager , expand Management Packs, expand Notification, and then expand Notification Groups. Right-click Operations Manager Notification Testing, and then click Properties. In the Notification Group Properties  dialog box, click New Operator. In the Operator Properties – General dialog box, type the user name of the new operator in the Name box. Leave the Enabled check box selected, and then click Next.</li> 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.</li> Make sure that the Always email this operator option is selected, and then click Next.</li> 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.</li> 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  dialog box.</li> 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.</li> Click Apply, and then click OK.</li> 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.</li></ol> </li> Configure the E-mail server. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Start the MOM 2005 Administrator console.</li> Expand Microsoft Operations Manager , expand Administration, and then click Global Settings.</li> In the right pane, right-click Email Server, and then click Properties.</li> In the Email Server dialog box, click the Email Server tab.</li> In the Server name box, type the name of the SMTP server. For example, type Server1.example.com .</li> In the Return address box, type a valid return e-mail address.</li> Click Apply, and then click OK.</li></ol> </li> <li>Create a new rule in the MOM 2005 rule group. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start the MOM 2005 Administrator console.</li> <li>Expand Microsoft Operations Manager , expand Management Packs, expand Rule Groups, and then expand Microsoft Operations Manager (enabled).</li> <li>Right-click Event Rules, and then click Create Event Rule.</li> <li>In the Select Event Rule Type dialog box, click Alert on or Respond to Event (Event), and then click Next.</li> <li>In the Event Rule Properties – Data Provider dialog box, click System in the Provider name list, and then click Next.</li> <li>In the Event Rule Properties – Criteria dialog box, click to select the with event id check box.</li> <li>In the box that is next to the with event id check box, type 7036, and then click Next.</li> <li>In the Event Rule Properties – Schedule dialog box, click Next.</li> <li>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.</li> <li>In the Event Rule Properties – Alert Suppression dialog box, click to clear the Suppress duplicate alerts check box, and then click Next.</li> <li>In the Event Rule Properties – Responses dialog box, click Add, and then click Send a notification to a Notification Group.</li> <li>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.</li> <li>Click Next, and then click Next in the Event Rule Properties - Knowledge Base dialog box.</li> <li>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.</li></ol> </li> <li>Verify whether the rule was successfully created. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In the MOM 2005 Administrator console, expand Management Packs, expand Rule Groups, expand Microsoft Operations Manager (enabled), and then click Event Rules.</li> <li>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.</li></ol> </li> <li>Cause Event ID 7036 to occur. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Log on to the computer that is running MOM 2005 by using an account that has administrator rights.</li> <li>Click Start, click Run, type services.msc, and then click OK.</li> <li>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.</li> <li>Right-click SQL Server (MSSQLSERVER), and then click Start. Then start any dependent services that were stopped.</li> <li>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.</li></ol> </li> <li>Verify whether the alert was successfully generated. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>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.</li> <li>In the Event Views pane, click Alerts.</li> <li>In the Alerts pane, verify whether the Service Unavailable alert refers to the stopped SQL Server (MSSQLSERVER) service.</li> <li>In the Event Views pane, click Events.</li> <li>Expand All: Event Views, and then click Events.</li> <li>Verify whether Event ID 7036 appears in the right pane.</li></ol> </li></ol>

<div class="references_section">