Forum Discussion
Jinshu
Cirrus
Nov 30, 2015Create a custom monitor-Reading header
Hi all,
I want to create a custom monitor usign below conditions. Can we create a monitor to read the header fleld WWW-Authenticate and respond??
Can somebody help please..
curl -v http://myserver.com:8080/payments/PaymentGateway?WSDL
* About to connect() to myserver.com port 8080 (0)
* Trying 10.x.x.x... connected
* Connected to myserver.com (10.x.x.x) port 8080 (0)
> GET /payments/PaymentGateway?WSDL HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 OpenSSL/1.0.1l zlib/1.2.3 libidn/0.6.5
> Host: myserver.com:8080
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Server: Apache-Coyote/1.1
< Pragma: No-cache
< Cache-Control: no-cache
< Expires: Thu, 01 Jan 1970 01:00:00 GMT
< WWW-Authenticate: Basic realm="Test Realm"
< Content-Type: text/html;charset=utf-8
< Content-Length: 958
< Date: Mon, 30 Nov 2015 17:54:57 GMT
<
* Connection 0 to host myserver.com left intact
* Closing connection 0
1 Reply
- samstep
Cirrocumulus
What do you mean by "respond"? If you want to authenticate then you can just use username and password field on the monitor form. From version 11.3 NTLM authentication is also supported.
Check out this DevCentral thread for some examples:
https://devcentral.f5.com/questions/ltm-1110-http-monitor-with-native-ntlm-auth
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects