|
From: | Stephan Gomes Higuti |
Subject: | Re: Tomcat. |
Date: | Mon, 2 Jun 2014 09:45:42 -0300 |
Hey Stephan,first of all we monitor the Tomcat process with:check process tomcat_process with pidfile /path/to/pid/file/tomcat.pidstart program = "/etc/init.d/tomcat start"stop program = "/etc/init.d/tomcat stop"Then the availability of the services directly on the Tomcat Connector with:check host tomcat_host with address private-host.example.comif failed port 8080 and protocol http and request '/path1' then alertif failed port 8080 and protocol http and request '/path2' then alertAnd last the availability of the services on the internet (our Tomcat is behind an Apache2 server):check host apache_host with address public-host.example.comif failed port 80 and protocol http and request '/proxyed/path1' then alertif failed port 80 and protocol http and request '/proxyed/path2' then alertHope it helps,PaoloOn Fri, May 23, 2014 at 4:44 PM, Stephan Gomes Higuti <address@hidden> wrote:
--Hello,Does anyone have used monit for monitoring Tomcat? Is there any kind of special trick to do it? Is there a way to watch specific contexts?
Regards,Stephan Gomes Higuti
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |