Forum Discussion
cleiton_82
Nimbostratus
Feb 08, 2023create http monitoring in case of status 500 or higher disable node or pool-member
Help I need Create http monitor: POST 'http://192.168.0.100:8080/ClayRestApi/NMON40' in case of status 500 or higher disable node or pool-member
Chris_Miller
Altostratus
Dec 20, 2010I'm not familiar enough with [URI::protocol] but why wouldn't that work here?
when HTTP_REQUEST {
if { [URI::protocol [HTTP::uri]] eq "https" } {
HTTP::redirect "https://abc123.com[HTTP::uri]"
} else {
HTTP::redirect "http://abc123.com[HTTP::uri]"
}
}
Examples for URI::protocol seem to be lacking but is there any reason this wouldn't work?
- Jad_Tabbara__J1Oct 27, 2017
Cirrostratus
Hello John,
The clone pool is a standard pool.
So by default it load balance the trafic btw pool members based on the load balancing method.
Only one will receive the cloned traffic.
Regards