Forum Discussion
ICAP Monitor
Does anyone know if it is possible to have a ICAP monitor on BIG-IP LTM 10.2.0?
I am going to have ICAP servers on a pool and I need to have a monitor for them.
I have looked at the available list but I didn't find any.
Any ideas?
Regards,
Pavlos
10 Replies
- hoolio
Cirrostratus
Hi Pavlos,
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
http://support.f5.com/kb/en-us/solutions/public/4000/100/sol4186.html
Aaron - Pavlos_Parisis_
Nimbostratus
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.
Thanks for your reply.
Regards,
Pavlos - hoolio
Cirrostratus
Hi Pavlos,
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.
Aaron - Pavlos_Parisis_
Nimbostratus
Unfortunately, they require the host header. But, you gave me enough info to proceed thank you vary much.
Regards,
Pavlos - Artiom_LichtensHistoric F5 Account
Hi,
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:
https://tools.ietf.org/html/rfc3507section-4.10.1
send "OPTIONS icap://ICAP_SERVER ICAP/1.0\r\n\r\n" recv "ICAP/1.0 200 OK"- Manuel_60430
Nimbostratus
I was exactly looking for this and it works perfectly.
Thanks a lot!
- nolipineda
Altostratus
Hi Artiom,
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.
Thanks in advance. :)
- Artiom_LichtensHistoric F5 Account
Hi,
 
This is supported with External monitors:
 
https://devcentral.f5.com/s/articles/ltm-external-monitors-the-basics
 
You can pass environment variables and command line arguments to a custom script.
 
Hope this helps.
 
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
