Hi Kevin

Can I suggest 2 options:

1) Write your own monitor (Korn shell script or Perl script) to monitor
the existence of your Tomcat instance: something like

#!/bin/ksh
... insert commands to start Tomcat ...
# poll Tomcat instance, and sleep if its alive
while [`ps -ef | grep $TOMCAT | wc -l` -gt 0 ]
do
        sleep 30 # set wait period in seconds to your taste
done
# otherwise, send an email
mailx -s "Tomcat has died" [EMAIL PROTECTED] << EOF
        Tomcat just died at `date`
        `tail -100 $TOMCATLOG`
EOF

Where $TOMCAT represents something unique about your Tomcat instance
{command line etc), and $TOMCATLOG is the name of its log file, so the
email can tell you what/why it went belly up.

2) Download a freeware product from Quest called Big Brother, which can
monitor log files for keywords, and/or process instance existence, with
alerts being sent to email, cell phones, SMS etc as required.

HTH
Austin

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of
Taylor, Kevin
Sent: 19 April 2004 14:51
To: [EMAIL PROTECTED]
Subject: Tomcat monitoring

Hi,

Does anyone know of any monitoring software for detecting when a tomcat
instance becomes unavailable and notifying support persons via
email/page?
Something open source, preferably.

TIA.

> --Kevin Taylor
>

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to