How can I get an e-mail alert when my oracle database comes up or down?
I have a database that I need to know when it goes down (it would be nice to know if it has come back up), preferably from a remote machine. Conceivably I could hack together something that TNSPings my DB and e-mails me when that changes, but I'm hoping there's a free package out there. Something that would run on windows.
Any strong recommendations?
Take a look a http://www.bigsister.ch/bigsister.html
I 've used this in the past to monitor a small network. You can also add checks to test, if services (e.g. Oracle Listener) are available.
Use Nagios, it's free and have Oracle connectors
http://www.nagios.org/
You can use system triggers to do some of this. You could combine the trigger with the use of the UTL_MAIL package. You might be able to use dbms_scheduler if you're monitoring via another database.
Additional info: I found DBUptime on Burleson's Guide to free Oracle Utilities Page. Maybe that's more what you want.