Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Help with a http health monitor

Hi All

I want to implement a simple health monitor (HTTP) to my ADFS 2012 R2 servers (a new probe shipped in a Windows update to this OS). All I need to do is make a http get request to the below URL and ensure I get a http 200 OK code in return.

http:///adfs/probe

I am running F5 LTM VE 11.6.1

Thanks!

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

You will need to create a custom HTTP monitor and use the following string

Sending String - HEAD http:///adfs/probe HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n

Receive String -HTTP/1.1 200 OK

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Thanks! So everything after the - . Any GET required?

The other question I had was I havr two ADFS (the application is ADFS 2012 R2), as the hostname obviously is different for both servers, I would need two health monitors ..... is there any workaround to keep one health monitor? Out of interest.

0
Comments on this Answer
Comment made 06-Sep-2015 by mr.evil 279
You can use one health monitor for two servers. You will need to put the two server under one Pool and assign the custom monitor the Pool. As far as GET that depends on that you trying to do ... but from what I can see you dont need to use any GET at this point of time.
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

try this.. for create a generic external monitor fot http.

https://devcentral.f5.com/codeshare?sid=395

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Gurdip,

ADFS 3.0 requires SNI, which isn't supported by our built-in HTTPS monitors. Check the ADFS deployment guide for info on how to create an external EAV monitor to check the availability of the servers:

https://f5.com/solutions/deployment-guides/microsoft-active-directory-federation-services-big-ip-v11-ltm-apm

Mike

0