----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Otis Gospodnetic wrote:
> We need to implement monitoring of various components of our system here.
> JServ (soon Tomcat, probably) is one of those components.
We have similar requirements. Our servlets require: JServ, Apache, a
DB, and a propriatary server to be up and running -- else they would
fail. Obviously, each of these components may run on different hosts;
and with the load balancing feature of JServ even more processes are
distributed across machines.
> I was wondering what methods and tools people use to monitor JServ (i.e.
> make sure that the processes are up, that the server is responding, etc.)
Any ideas highly wellcomed. At least, I would like to bundle a
monitoring system that checks the states of the Apache process(es) and
JServ process(es). It should be automated to restart those processes
that have failed.
The only idea that I have so far is to create a test request to the
servlet and compare the output with the expected output, but this will
not report problems with a failed JServ insdtance in the case of
load-balancing and fail-over.
Since both Apache and JServ are generating log files, it might be a
possibility to create a plug-in, which will examine the log-file
output. Does the JServ and/or Apache architecture allow to write
plug-ins that would also get the log output? Such plug-ins could even
interface with SNMP agents to monitor Apache and JServ from standard
network monitoring tools.
Regards,
- Jakob
--
Dr. Jakob Hummes, CTO
Castify Networks -- 2229, route des Cretes -- B.P. 193
06904 Sophia Antipolis Cedex -- FRANCE
Tel: (+33) (0)6 19 02 24 83 Fax: (+33) (0)4 93 00 26 27
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]