Forum Discussion

ozdemircili_696's avatar
ozdemircili_696
Icon for Nimbostratus rankNimbostratus
Jun 14, 2010

Monitoring Tomcat app

Hi, In our production environment we have been running tomcat applications. When I had a look at the health monitors we are using I saw that we are looking at the tomcat manager page to see if the tomcat is alive. Actually our app is running unser http:server:8080/app/test.jsp I want to add a health monitor to monitor the app than the tomcat itself. In the configuration of health monitor, I am using as send string: /wsserhs/Retailer.jsp Do I need to add anything to Receive string? Will this suiffice? Thank you.

4 Replies

  • At a minimum, I'd suggest looking for a 200 response (something like "HTTP 1\.(0|1) 200") Ideally, you'd check for a string which only appears within the HTTP response payload on successful responses.

     

     

    Aaron
  • Good suggestion Hoolio. If I recall, leaving the "Receive String" blank causes the monitor to pass given any response...even a 500/404?
  • Without a receive string, bigd will consider any TCP data whatsoever in the response as a success:

     

     

    http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=61823&ptarget=61920

     

     

    Aaron