Forum Discussion
create monitor with ? in the send string via TMSH
- Feb 01, 2024
? Completing prompt function conflicts of tmsh view, it can be used by switching to the bash view
run util bash
tmsh create ltm monitor https test_monitor { adaptive disabled defaults-from https send "HEAD /path1/path2/Access/information/script/healthcheck?wsdl HTTP/1.1\r\nHost: test.com\r\nConnection: Close\r\n\r\n" recv "HTTP/1.(0|1) 200 OK" destination *:* interval 5 time-until-up 0 timeout 16 }
exit
To configure inTMSH, I believe you can also replace the "?" character with an escape sequence as per the following article:
https://my.f5.com/manage/s/article/K4186
You would replace "?" with "\x3F"
So, so something like this:
create ltm monitor https test_monitor { app-service /Common/test.app/test adaptive disabled defaults-from https send "HEAD /path1/path2/Access/information/script/healthcheck\x3Fwsdl HTTP/1.1\r\nHost: Close\r\n\r\n" recv "HTTP/1.(0|1) 200 OK" destination *:* interval 5 time-until-up 0 timeout 16 }
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