Configuring Email Notification Method in EM-Steps and Troubleshooting_429426.1

rongshiyuan發表於2014-09-26

Configuring Email Notification Method in EM - Steps and Troubleshooting (文件 ID 429426.1)


In this Document

Purpose
Scope
Details
  Email Notification Method
  Configuring Email Notification Method  
  Troubleshooting
References

Applies to:

Enterprise Manager Base Platform - Version 10.1.0.2 to 11.1.0.1 [Release 10.1 to 11.1]
Information in this document applies to any platform.
Checked for relevance on 03-Sep-2014

Purpose

The notification methods define the method by which the notifications will be sent to the EM administrators. The available Notification methods in EM are :

Email Notification
SNMP Trap
PL/SQL Procedure
OS Command

This document describes the steps involved in configuring the Email Notification Method available in EM.

It is also necessary to define a Notification Rule. The Notification Rule provides an option to choose the targets and conditions under which the OMS should be sending notifications.

The Notification Rules can be configured with the severities/violations of metrics/policies and various states of the Jobs for which the notification has to be sent for.  

Scope

This document is applicable to EM administrators who wish to recieve Email notifications from EM, whenever critical/warning alerts are raised for any of the targets.

Details

Email Notification Method

The notification will be via an Email, sent to the email address specified for the EM administrator. This will require notification rules and schedule to be configured as well.

The notification schedule controls 'who' will be notified using the email notification when the notification rule is satisfied i.e. this will have the email address(es) to which the notification will be sent.

Configuring Email Notification Method  

- Go to Setup -> Notification Methods.

- Enter the 'Outgoing Mail (SMTP) Server' hostname or IP address. For ex : smtp.domain.com.

a) If the SMTP server is running on the default port : 25, then there is no need to specify the port.
Else the port number has to be specified in the form : smtp.domain.com:100

b) You can also specify multiple SMTP servers/gateways here in this manner : smtp1.domain.com, smtp2.domain.com:100

c) Defining multiple e-mail servers will improve the reliability of e-mail notification delivery and spread the load across multiple systems. The Management Service makes use of each server/gateway to send e-mails and the behavior is controlled by the following parameters in the /sysman/config/emoms.properties file :

# The maximum number of e-mails that can be sent in a single connection to an
# e-mail server
em.notification.e-mails_per_connection=20
#
# The maximum number of e-mails that can be sent in a minute
em.notification.e-mails_per_minute=250

The above mentioned values are the default ones and can be modified if necessary. 

NOTE for 11g use emctl set property to change emoms properties.

- If the Mail server requires a username/password, then specify them under 'User Name' and 'Password' fields. Leave these blank, if no authentication is required.
(Refer to troubleshooting Step 3, below).

- Enter the identification string under 'Identify Sender As' field, so that these emails can be distinguished from other emails and recognized to be sent from EM.

- Ensure that a valid Email ID is entered for the "Sender's E-mail Address".

The e-mail address you specify on this page is not the e-mail address to which the notification is sent. You will have to specify the e-mail address (where notifications will be sent) from the Preferences General page.
- Click on 'Apply' to save the changes.

- When you click on 'Test Mail Servers', a test mail is sent to the Email Id specified for 'Sender's E-mail Address' with the following :

Email Header :

subject : EM Test Message 
From :   

Email Body : 

This test e-mail message from Oracle Enterprise Manager indicates a
successful configuration of your e-mail address and mail server.


- The Email notification method is now ready for usage. You can choose this method when configuring the notification rules.

Note:

- Only a Super-Administrator user can configure SMTP servers.
- The Notification Schedule is used only by Email Notification Method.
- Any e-mail delivery problems, in the future, will be automatically sent to the Sender's E-mail Address.
- It is possible to customize the content sent in an Email notification from the 10.2.0.5 Grid Control version onwards.

Note 813399.1 New Features for Notifications in 10.2.0.5 Enterprise Manager Grid Control

Important : Ensure that the "E-mail addresses" and the Notification Schedule are correctly specified, and that the notification schedule has been correctly scheduled using that note :

Note 438150.1 How to Add/Update Email Addresses and Configure a Notification Schedule in Grid Control ?

Troubleshooting

1. If you get any connectivity errors after clicking on 'Test Mail Servers', follow the steps in the following documents to test the connectivity to the SMTP server, from the OMS machine :

Note 74269.1:How to Test an SMTP Mail Gateway From a Command Line Interface
Note 386973.1: Problem: Could Not Connect To Smtp Host: Port:25; Nested Exception

2. After clicking on the 'Test Mail Servers', if there are errors like :

mailserver: Test failed with message: "Sending failed; nested exception is: 
javax.mail.SendFailedException: Invalid Addresses; nested exception is: 
javax.mail.SendFailedException: 550 : Recipient address 
rejected: User unknown in local recipient table " 

Ensure that the Sender's Email ID is specified correctly.

Note 365417.1 : Problem 'Test Mail Servers' from GC fails with "Recipient address rejected ...."

3. The SMTP server authentication option does not work fine upto 10.2.0.3 GC version.
This includes authentication types such as Login, Plain, Digest-MD5, NTLM etc.

Bug 5654494 :Abstract: OUTGOING MAIL (SMTP) SERVER CONNECTING ERROR

This is an unpublished bug. Refer to the details in :

Note 429836.1 : Grid Control and SMTP authentication

This has been fixed in the 10.2.0.4 GC release.

4.  Till 10.2.0.4 Grid Control, if the SMTP server being used is SSL enabled, the test mesage will fail.

Note 788544.1 : Notifications fail with "Must issue a STARTTLS command
first" when using SSL Enabled SMTP Server in Grid Control

10.2.0.5+ Grid Control supports SSL / TLS communication to the SMTP server.

References


NOTE:788544.1 - Notifications fail with "Must issue a STARTTLS command first" when using SSL Enabled SMTP Server in Grid Control
NOTE:438150.1 - How to Add/Update Email Addresses and Configure a Notification Schedule in Grid Control ?
BUG:7170094 - SUPPORT HTML LINKS IN CUSTOMIZED EMAILS
NOTE:285093.1 - How to Troubleshoot Notifications That Are Hung / Stuck and Not Being Sent from EM 10g
NOTE:429292.1 - What are Short and Long Email Formats in 10g / 11g Enterprise Manager Notifications?
NOTE:429422.1 - How To Configure Notification Rules in Enterprise Manager Grid Control ?
 

文件詳細資訊

 
通過電子郵件傳送此文件的連結在新視窗中開啟文件可列印頁
型別:
狀態:
上次主更新:
上次更新:
BULLETIN
PUBLISHED
2014-9-4
2014-9-4
     
 

相關產品

 
Enterprise Manager Base Platform
     

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1281939/,如需轉載,請註明出處,否則將追究法律責任。

相關文章