Forum Discussion
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?
- Paul_LuedersAltostratus
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.
Do not forget to approve my answer if it fits what you were looking for.
KR,
Dario.
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 - https://support.f5.com/csp/article/K2167
KR,
Dario.
Also, you can check how your server behaviour is using curl
# curl -v http://example.test.com
Recent Discussions
Related Content
* 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