Managment Services Change of Status E-mails

Enterprise Manager allows you to send e-mails whenever the Oracle Management Services (OMS) is starts, stops, or terminates abnormally. Activation of this feature is controlled by entries in the sysman/config/emoms.properties file. These entries are as follows:

em_oob_startup=true
em_oob_shutdown=true
em_oob_crash=true

These emoms.properties file entries instruct Enterprise Manager to access the following scripts:

All of these scripts can be run stand-alone to verify that they work.

If the emoms.properties entries are set to true (as shown above), they will attempt to send e-mail when invoked. Any other values (or if the entries do not exist) will cause the scripts to simply return. The default is for the entries to be set to false.

The scripts use email addresses defined in emoms.properties:

em_email_address=anita.holser@oracle.com,aholser@yahoo.com
em_from_email_address=aholser@yahoo.com

The em_email_address can contain a series of email addresses separated by commas.

Example E-mail Notifications

OMS Abnormal Termination E-mail (from omsdown.pl):


Subject: Enterprise Manager oms has terminated abnormally
Date: Sat, 17 Apr 2004 13:16:36 -0700 (PDT)
From: aholser@yahoo.com
To: aholser@yahoo.com, anita.holser@oracle.com


Sat Apr 17 13:16:36 PDT 2004
The Management Service in ORACLE_HOME /ade/aholser_n/oracle has terminated abnormally.

OMS Stop E-mail (from omsstop.pl):

Subject: Enterprise Manager oms has been shut down
Date: Sat, 17 Apr 2004 13:41:55 -0700 (PDT)
From: aholser@yahoo.com
To: aholser@yahoo.com, anita.holser@oracle.com


Sat Apr 17 13:41:54 PDT 2004
The Managent Service in ORACLE_HOME /ade/aholser_n/oracle has been shut down.


OMS Startup E-mail (from omsstart.pl):

Subject: Enterprise Manager oms has been started
Date: Sat, 17 Apr 2004 13:16:40 -0700 (PDT)
From: aholser@yahoo.com
To: aholser@yahoo.com, anita.holser@oracle.com


Sat Apr 17 13:16:40 PDT 2004
The Management Service in ORACLE_HOME /ade/aholser_n/oracle has been started.

 

Related Topics

Enterprise Manager Information Roadmap