Hi Paolo, thank you very much! Gonna test it today.
Att, Stephan Gomes Higuti On 2 June 2014 07:47, Paolo Martinelli <[email protected]> wrote: > Hey Stephan, > > first of all we monitor the Tomcat process with: > check process tomcat_process with pidfile /path/to/pid/file/tomcat.pid > start 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.com > if failed port 8080 and protocol http and request '/path1' then alert > if failed port 8080 and protocol http and request '/path2' then alert > > And 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.com > if failed port 80 and protocol http and request '/proxyed/path1' then > alert > if failed port 80 and protocol http and request '/proxyed/path2' then alert > > Hope it helps, > > Paolo > > > On Fri, May 23, 2014 at 4:44 PM, Stephan Gomes Higuti < > [email protected]> 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 >
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
