Jump to content
Welcome to our new Citrix community!

Health Monitor


Manoj Rana

Recommended Posts

Hi,

Im trying to setup HTTP-ECV Health Monitor tomcat based application. Please see my Monitor details below.

 

image.thumb.png.d30395f49670a9099e571d1f000ff47d.png

I am basically looking for response code 200. The monitor getting error message "Pattern not found in response"

 

Any one please suggest what i am doing wrong ?

 

Thanks

Manoj

 

 

Link to comment
Share on other sites

Hello

 

In a simple way, you can create a directory like health inside webapps and create an index file named index.html inside webapps/health/ with the following contents.

 

<HTML>
    <HEAD>
        <TITLE>Tomcat status</TITLE>
    </HEAD>
    <BODY>
        <H1>Tomcat Running</H1>
    </BODY>
</HTML>

 

And test with the following URL

http://localhost:8080/health

Link to comment
Share on other sites

21 minutes ago, Arnaud Pain said:

Hello

 

In a simple way, you can create a directory like health inside webapps and create an index file named index.html inside webapps/health/ with the following contents.

 

<HTML>
    <HEAD>
        <TITLE>Tomcat status</TITLE>
    </HEAD>
    <BODY>
        <H1>Tomcat Running</H1>
    </BODY>
</HTML>

 

And test with the following URL

http://localhost:8080/health

@Arnaud Pain 

 

Are saying with this i can use HTTP-ECV and receiving sting i can use "Tomcat Running"?

 

Thanks 

Manoj

 

Link to comment
Share on other sites

11 minutes ago, Arnaud Pain said:

Manoj,

 

As Carl wrote, you can make a mix.

 

1. Create a html file in a folder (or use an already existing one)

2. Create a HTTP Type monitor and check for the file 

 

Example:

 

image.thumb.png.7b29f06060f8319821c23c84773290e4.png

 

Thanks

Arnaud

Thanks  Arnaud and Carl. 

It is working with HTTP.

 

Manoj

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...