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?
Answer: Sending
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
devices.
As for what e-mails alerts to send, you start by
defining your
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
program
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:
|
|
Carrier |
Email to SMS Gateway |
Alltel |
[10-digit phone number]@message.alltel.com
Example: 1234567890@message.alltel.com |
AT&T (formerly Cingular) |
[10-digit phone number]@txt.att.net [10-digit
phone number]@mms.att.net (MMS) [10-digit phone
number]@cingularme.com Example:
1234567890@txt.att.net |
Boost Mobile |
[10-digit phone number]@myboostmobile.com
Example: 1234567890@myboostmobile.com |
Nextel (now Sprint Nextel) |
[10-digit telephone number]@messaging.nextel.com
Example: 1234567890@messaging.nextel.com |
Sprint PCS (now Sprint Nextel) |
[10-digit phone number]@messaging.sprintpcs.com
[10-digit phone number]@pm.sprint.com (MMS) Example:
1234567890@messaging.sprintpcs.com |
T-Mobile |
[10-digit phone number]@tmomail.net Example:
1234567890@tmomail.net |
US Cellular |
[10-digit phone number]email.uscc.net (SMS)
[10-digit phone number]@mms.uscc.net (MMS) Example:
1234567890@email.uscc.net |
Verizon |
[10-digit phone number]@vtext.com [10-digit phone
number]@vzwpix.com (MMS) Example:
1234567890@vtext.com |
Virgin Mobile USA |
[10-digit phone number]@vmobl.com Example:
1234567890@vmobl.com |
|
|
Get the Complete
Oracle SQL Tuning Information
The landmark book
"Advanced Oracle
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
buy it
for 30% off directly from the publisher.
|