Forum Discussion
External Monitor through Proxy via a different Route Domain
Is there a way to monitor different web pages off the internet through a proxy that is not on the default route domain?
I am able to run a curl command from route domain 2. I have tried a couple of different external monitors. If you recommend one, could you share the variables used as well as different arguments?
Thanks
1 Reply
- Andy_McGrath
Cumulonimbus
External Monitor is the best way using 'rdexec' and 'curl' with proxy:
rdexec [] curl -x, --proxy <[protocol://][user:password@]proxyhost[:port]>E.g. to hit wwww.google.com using proxy 192.168.1.1 on port 8080 using proxy username 'testuser' and password 'password1' and looking for a response of "200 OK" in an external monitor script:
rdexec 1 curl -fNsi http://216.58.210.4/ -H 'Host: www.google.com' --proxy http://192.168.1.1:8080 --proxy-user testuser:password1 | grep -i "200 OK" 2>&1 > /dev/null
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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