Forum Discussion
forsan_102218
Nimbostratus
Sep 16, 2014External/Scripted monitor fails
Hi,
I need to have a monitor that do a curl on a url witch returns a specific value. I could have done this with the regular http monitor but I need to insert a random number into the URI to avoid ...
Kevin_Stewart
Employee
Sep 16, 2014The scripted monitor uses an Expect-like syntax:
It doesn't support Bash code, so that's why you're getting that error. To use a Bash monitor script, you must configure it as an External monitor. In 11.x and above, you have to first import the script as a file object under the system menu, then in the Local Traffic section define an External monitor that implements this script.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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