Server Monitor

Duane Attaway dattaway at dattaway.org
Tue Dec 10 19:19:37 CST 2002


On Tue, 10 Dec 2002 admin at kclinux.net wrote:

> Anyone know of a linux script that will monitor a server and will send
> an email when something is down?  For example, makes sure the server is
> up (PING), makes sure webpages come up (APACHE), and so on.  If it's
> down, maybe send a custom error to an email address. (A Mobil Phone
> pager)

Try the mon utility scripts from kernel.org:

Alerts that come with mon:

    * Email notification.
    * Alphanumeric paging notification via modem, using QuickPage.
    * Alphanumeric messaging to portable devices using SNPP.
    * Alphanumeric paging via email.
    * Traps can be delivered to remote mon servers.
    * It is trivial to add your own alert, and it does not require  
      changing any code in the server. 

An example script of what mon can do:

http://www.kernel.org/software/mon/example.cf

Here's the main mon page:

http://www.kernel.org/software/mon/

--
http://dattaway.org




More information about the Kclug mailing list