Forum Discussion
using '--resolve' in the pool monitor health check
Hello,
I am checking if it's possible to add the option '--resolve' in the health check monitor and avoid using a custom monitor (which consumes too much memory).
For example:
curl -kvs https://some_site_in_the_internet.com/ready --resolve some_site_in_the_internet.com:443:196.196.12.12
I know you can use
curl -kvs https://196.196.12.12/ready --header "host: some_site_in_the_internet.com"
But the path to the servers has some TLS requirements that' does not work.
Any ideas are welcome
Thanks
1 Reply
- f51
Cumulonimbus
You can’t use the --resolve option directly with the built-in BIG-IP health monitors like HTTP, HTTPS, or TCP. These monitors don’t allow custom curl options to be passed in. If you want to use --resolve—which lets you manually map a hostname to a specific IP address for the request—you’ll need to create a custom external monitor script. In that script, you can call curl with the --resolve flag and any other options you need.
Check below article
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