I'm looking for an inexpensive method to monitor if my Oracle database is up or down and determine if I can connect to it remotely.

Does anyone have a UNIX shell script that would allow me to attempt a SQL*Plus connect and if it fails shoot an email out to a specified distribution list?

Ken H.