You could capture a tcpdump of a simple ICAP request and response and handcraft a custom TCP send and receive string for a TCP monitor. Here is a solution detailing the escape sequences you can use in a monitor:
SOL4186: Entering escape sequences in an ECV health monitor’s send and receive strings
Unfortunately, I can’t do that because monitor request must carry the Request Method “OPTIONS” and header “Host” which is different for every pool member.
If it’s a single static request/response, you should be able to configure a TCP send and receive string to monitor the ICAP servers. Does each server require a different Host header value? Or could you use a generic value for all of them? If the former, you could use a single TCP monitor. If the latter, you could potentially use a TCP monitor per server and assign that to the specific pool member.
I don’t know if this is still relevant to anyone, but I have just used a standard HTTP monitor (since ICAP is clear text as well) and the ICAP OPTIONS method:
Thanks for sharing. Would you have an idea if you can replace “ICAP_SERVER” with a variable? Would be good to do if you have multiple AV appliance in a pool.