Forum Discussion
Suresh_Joshi_01
Nov 19, 2015Nimbostratus
Useful Curl commands for F5 LTM
Can someone please provide me the useful curl commands by which i can troubleshoot issues like checking monitor status, Whether the issue in send or receive strings in LB monitors etc.
Kevin_Stewart
Nov 19, 2015Employee
The cURL help is your friend 😉
curl --help
Some of the more common options are:
-v for verbosity
-k to ignore certificate issues
-d to issue a POST with POST payload data
curl -vk https://www.example.com/foo -d 'user=admin&password=admin'
-X to explicitly define the request method
curl -vkX POST https://www.example.com/foo/bar -d 'user=admin&password=admin'
The -v option is going to your best tool for troubleshooting monitors. You'll of course want to perform captures to see what the monitor is actually sending and receiving, and curl -v will allow you to simulate these requests.
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