Forum Discussion
RKallas_77708
Nimbostratus
Feb 17, 2014RRT for monitoring pool members?
My LTM has a pool of servers that from time to time, one server seems to be unreachable for extended periods of time. My application team would like to monitor them on the LTM, based on the rrt bet...
Philipp_Stadler
Nimbostratus
Feb 17, 2014Hi,
do you really want to know the RTT, in my opinion this is only a TCP-related metric and this might not be useful for you (because maybe only the server is overloaded and TCP RTT will not increase very much).
So maybe you want to measure response time:
when HTTP_REQUEST_SEND {
set time_start [clock clicks -milliseconds]
}
when HTTP_RESPONSE {
set server_latency [expr {[clock clicks -milliseconds] - $time_start}]
do anything you want with $server_latency
}
If server load increases also the $server_latency will increase and you can make comparison to max allowed value.
Philipp
Philipp_Stadler
Nimbostratus
Feb 17, 2014oh, I forgot to mention that you can check the selected pool member with LB::server (https://clouddocs.f5.com/api/irules/LB__server.html) within HTTP_RESPONSE.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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