tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Tomcat Monitoring
Date Mon, 10 Feb 2003 10:18:59 GMT

Create a simple JSP that outputs a particular string.

Install that JSP in your webapp

Use wget or any other scriptable HTTP client:

wget http://your-host:8080/yourApp/monitor.jsp

Look for "SUCCESS" (or whatever string you choose) in output.  If you get
it, Tomcat is up and rendering JSPs.  If you don't, it's not.

Setup cron job to run every 5 minutes.

John

-----Original Message-----
From: pavel [mailto:pavel@icecentric.com] 
Sent: Monday, February 10, 2003 2:52 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat Monitoring


Hello,
Please could anybody tell me how to monitor whether tomcat is running. I 
am using for load testing JMeter which sends requests. Is there 
something like that which would also send requests for example each 5 
min and in case of problem, an email would be sent to the administrator. 
Or is there something on tomcat (server) side that would monitor tomcat 
and send email to the administrator?

Thank you in advance.

Pavel Kusch


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message