Forum Discussion
RACQ_74493
Cirrus
Feb 28, 2011Funny behaviour creating monitor in tmsh
Hello,
I was trying to create a bunch of monitors from the tmsh and I am getting odd behaviour.
When I paste the line it gets halfway through pasting it and give an syntax error (Syntax...
hoolio
Cirrostratus
Feb 28, 2011Hi David,
I'm not sure what's expected for this, but if you escape the ? with a back slash it seems to create the monitor successfully:
(tmos.ltm.monitor) create https et_phone_home defaults-from https recv "ALL OK" send "GET /et/spielberg/health/\?app=contact-us\r\n\r\n" interval 20 timeout 61
(tmos.ltm.monitor) list https et_phone_home
ltm monitor https et_phone_home {
cipherlist "DEFAULT:+SHA:+3DES:+kEDH"
compatibility "enabled"
defaults-from https
interval 20
recv "ALL OK"
send "GET /et/spielberg/health/?app=contact-us\r\n\r\n"
time-until-up 0
timeout 61
}
Also note that you should add a second \r\n to the end of the send string:
sol10655: Change in Behavior: CR/LF characters appended to the HTTP monitor Send string
http://support.f5.com/kb/en-us/solutions/public/10000/600/sol10655.html
Aaron
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