Jump to content
Welcome to our new Citrix community!

NetScaler Monitor to Authenticate with a User Name and Password

Recommended Posts


I have tried to custom netscaler monitor for Microsoft CA by followiong this CTX:


Curl command works using this comand:

curl -u "administrator:password" --ntlm

I am using TCP-ECV like this:

GET /certsrv HTTP/1.1rnAuthorization: Basic YWRtaW5pc3RyYXRvcjpQQHNzdzByZA==rnHost:


Link to comment
Share on other sites


Please configure HTTP-ECV monitor instead of TCP-ECV. Also please provide

  1. snapshot of Send string and receive string configured
  2. Packet capture snippet highlighting response from server. Response from server should exactly match "receive string" configured.

Easier way will be to use HTTP monitor and configure custom header in it for Basic authentication

Link to comment
Share on other sites

Hi Hemang

Thanks for reply.

I configured other HTTP-ECV monitor, now I got "failure - pattern not found in response".

Below how i set up the monitor.

add lb monitor test_login_http-ecv HTTP-ECV -send "GET /certsrv HTTP/1.1rnAuthorization: Basic YWRtaW5pc3RyYXRvcjpQQHNzdzByZA==rnHost:" -recv Welcome -LRTM ENABLED

image.thumb.png.fcba69f9eba342e33ebdf2b8798620b1.pngHTML body:image.thumb.png.b3891667f13104b6a1ec36b46ef2ad29.png 

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...