Question: I want to set-up my Oracle
database to automatically monitor for problems and send alerts to my
cell phone. How do I configure Oracle to send e-mails SMS
alerts for mobile devices?
a text message to an SMS mobile device is done via e-mail.
Step 1: You start by
defining an e-mail address that automatically forwards to your SMS
mobile device. Most Cellular phone service providers have a
facility to allow you to receive e-mails via their own webserver.
See list below for major USA phone text
messaging SMS gateway details.
Step 2: Next, you wrote code for sending
e-mails in Oracle is normally done
within PL/SQL. Also, see my notes on using the
utl_smtp package for sending e-mails within Oracle to mobile
As for what e-mails alerts to send, you start by
own alert thresholds. You may also want to send email
alerts to your SMS mobile device for
suspicious alert log messages.
Sending e-mail alerts from OEM
I don't recommend using OEM for sending e-mail alerts because a
custom solution is wide open, you know how it works, end-to-end, and
you can customize it far beyond the one-size-fits-all constraints of
the OEM Mail Server configuration.
. For automated notification, a SNMP interface can be
easily configured to have OEM send the DBA a notification e-mail
whenever the threshold value has been exceeded. This alert can be
an e-mail, a telephone message or an alert on the OEM2GO PDA device.
OEM e-mail server is not as robust as a custom tailored e-mail
I have more complete details on creating a custom monitoring and
e-mail alert infrastructure in my latest book "Oracle
Tuning: The Definitive Reference, 2nd Edition".
E-Mail SMS gateways for
USA phone carriers:
||Email to SMS Gateway
||[10-digit phone number]@message.alltel.com
|AT&T (formerly Cingular)
||[10-digit phone number]@txt.att.net
phone number]@mms.att.net (MMS)
||[10-digit phone number]@myboostmobile.com
|Nextel (now Sprint Nextel)
||[10-digit telephone number]@messaging.nextel.com
|Sprint PCS (now Sprint Nextel)
||[10-digit phone number]@messaging.sprintpcs.com
[10-digit phone number]@pm.sprint.com (MMS)
||[10-digit phone number]@tmomail.net
||[10-digit phone number]email.uscc.net (SMS)
[10-digit phone number]@mms.uscc.net (MMS)
||[10-digit phone number]@vtext.com
|Virgin Mobile USA
||[10-digit phone number]@vmobl.com
Get the Complete
Oracle SQL Tuning Information
The landmark book
SQL Tuning The Definitive Reference" is
filled with valuable information on Oracle SQL Tuning.
This book includes scripts and tools to hypercharge Oracle 11g
performance and you can
for 30% off directly from the publisher.