Antonio Fiol Bonn�n said:
> Hi,
>
> I'd like to have our Tomcat servers monitored, in order to get an alarm
> if one of them stops responding.
>
> But they are not using HTTP at all. We are using the Coyote AJP
> connector because we have Apache in front of them, in a balanced
> configuration.

If you cannot find an AJP client...

Why not have tomcat listen for http requests as well (on 8080 or some
other port) (only accessible on your internal network), and have your
monitor script call some URL (a monitor servlet you create) on the tomcat
server to determine whether the tomcat server (and your web app) is up and
running.

Either use the response code (including no response) and/or the response
data/output to determine the state of the app server (and your
application).

You can use wget or some http client to poll your server. This is how we
do it even though we front-end Tomcat using Apache as well. This works
great with Nagios...

John Sidney-Woollett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to