Forum Discussion
pgroven_71837
Nimbostratus
Jan 09, 2008HTTPMonitor_cURL_ProbeTimeout
I am not sure how to implement the sample monitor posted on DevCentral
I cannot use the http monitor as the string I need to recieve is longer than 5120 bytes
The following script should wor...
Deb_Allen_18
Jan 19, 2008Historic F5 Account
OK, I see where it's going sideways now.
CAUCHOPORT is not defined anywhere in your monitor, and without that value, the cURL call is failing, and so no request is being sent to the pool member.
If you just change the name of the PORT var back to CAUCHOPORT in the monitor definition, you should be up & running to mark pool members UP.
However, to mark pool members DOWN, you'll need to make another change: Remove the alias destination port from the monitor definition. The script must be passed the pool member's defined port in order to mark it DOWN using the bigpipe command.
So your monitor def would look like this:
monitor curlcaucho {
defaults from external
run "curlcaucho"
POOL "cwmp.stage.80"
CAUCHOPORT "4004"
P_TIMEOUT "5"
RECV "w50-`echo $IP | cut -d. -f4`.c50.domain.com:6802 (ok)"
URI "/caucho-status"
}Give that a try.
/deb
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
