Forum Discussion

Julio_Navarro's avatar
Julio_Navarro
Icon for Cirrostratus rankCirrostratus
May 30, 2025

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's avatar
    f51
    Icon for Cumulonimbus rankCumulonimbus

    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

    K31435017: Steps to create custom curl monitor