Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Script to check if DB is up

905032Mar 8 2012 — edited Feb 1 2013
Hi,

I am looking for a shell script that would check if the database is down. If it is, then xmail. I want to schedule this script in crontab. What is the practical way to check if the database is up and send alert? Would it be to write a shell script and then schedule it to run every 5 mins? I do not have access to OEM or OEM dbconsole to have them automatically check and send out alerts. Thank youl in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2013
Added on Mar 8 2012
5 comments
5,828 views