Script to check if DB is up
905032Mar 8 2012 — edited Feb 1 2013Hi,
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.