Forum Discussion
forsan_102218
Sep 16, 2014Nimbostratus
External/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 ...
forsan
Sep 16, 2014Altostratus
Hi Kevin,
thank you for your reply. That explains why the scripted monitor is not working.
I have now been able to create a working external monitor.
The issue I had with my first try was this:
/bin/bash^M: bad interpreter: no such file or directory
I created the script in a windows computer and got the ^M in the file. So I recreated the script in a linux computer and ran it trough the dos2unix program and imported it to the BigIP again.
After this, the script was running without any issues.
Best Regards Andréas
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