in reply to If The Web Server Shuts Down Send me a Page

Assuming you want a page when it restarts, you should be able to stick a simple Net::SMTP script into the /etc/rc.d/init.d/ directories to send you one.

If you want to know when it quits responding, you are going to have to monitor it from a computer outside the house where the power might die. If you have a reliable computer that you can stick Perl monitoring scripts on outside of the "danger zone" but that you can't run webservers on, look into a monitoring package like Mon or NetSaint. Those both have the extremely stamp of approval... Mon is more Perlish and lovey-dovey, NetSaint is a mix of Perl and C and looks shinier...

--
$you = new YOU;
honk() if $you->love(perl)

  • Comment on RE: If The Web Server Shuts Down Send me a Page