Forum Discussion
Xavier_113679
Aug 06, 2012Nimbostratus
Passing variable to http monitor
Hi, I'm trying to setup a monitor for a pool containing 3 members that will call a servlet located on a different server. Here's an idea
GET /rsa_check?$NODE HTTP/1.1\nHost: server_hosting_servlet:9502\nConnection: Close\n\r\n
My problem is the $NODE. I basically need to pass the member hostname to a url which will in turn be processed on a server external to the pool configured in F5.
I tried to look for a list of variables that could eventually be passed to the GET string as part of the http health monitor, but I've been unsuccessful so far.
- hoolioCirrostratusHi Xavier,
- Xavier_113679NimbostratusAaron, when you refer to custom monitor, you refer to external monitor, right? External monitor would do the trick indeed as I could use the $1 variable representing the pool member IP (IPV6 format though). There would not even be a need to create individual monitors per pool member. But from what I've heard from F5 support, external monitor are not recommended in terms of best practices, hence why I'm trying to find a solution with the http monitor.
- hoolioCirrostratusYou could put in a feature request to get the monitored IP:port if that's not possible currently. External monitors use more CPU/memory compared with an inbuilt monitor.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects