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 12, 2008Historic F5 Account
Your tcpdump command line should be something like:
tcpdump -nni internal host and port 4000If you don't see any traffic, your monitor is not sending the expected request, and you need to fall back to the command line to verify the script is working as expected.
To test the script at the command line, first export the variables you have defined:
export RECV="w50-[12].c50.domain.com:6802 .ok."
export POOL="cwmp.stage.443"
export URI="/caucho-status"
export P_TIMEOUT="5"Verify the expected values have been properly exported by running the "set" command and examining the output. Then run the monitor from the command line, supplying the pool member address and port to which the monitor traffic should be sent:
/usr/bin/monitors/curlcaucho 10.50.1.1 5004If you see the word "UP", the monitor script is working as expected. (That should be the only output you ever see.)
If the pool member is up, but no output was seen from the script, run the script again with the shell debug flag set:
sh -x /usr/bin/monitors/curlcaucho 10.50.1.1 5004and examine the output to determine what isn't working as expected.HTH
/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
