Custom https health monitor

I would like to monitor a server that is hosting https://example.test.com. I would like to monitor when the webpage is not available.

What would be an example of a send and a receive string for the monitor?

Hello.

SEND: GET / HTTP/1.1\r\nHost: example.test.com\r\n\r\n

RESPONSE: HTTP/1.1 200 OK

I would recommend you to check this

REF - myF5

KR,

Dario.

Also, you can check how your server behaviour is using curl

# curl -v http://example.test.com

I am new to writing health monitors. Is it possible to use a curl statement in a health monitor?

Yes, of course.

You have 2 types of monitors:

  • ECV (Extended Content Verification) - some info is sent to the server and some info is expected to receive.
  • EAV (Extended Application Verification) - a custom script is executed, if the execution is finished with some output, the monitor consider the server as UP, or DOWN in another case.

In your case, it’s better to use ECV HTTPS monitor.

You can test your communication to figure out the better arguments using a simple query with curl.

REF - Monitors Concepts

REF - A Brief Introduction To External Application Verification Monitors - DevCentral

Do not forget to approve my answer if it fits what you were looking for.

KR,

Dario.