Forum Discussion
marvn_58503
Nimbostratus
Oct 23, 2013What is the correct way to script multiple newline characters in iApp (to create a monitor)
I have a HTTP monitor which requires a \r\n\r\n at the end. For the life of me, I cannot fix the syntax on this.
I end up with the following debugs in /var/tmp/scriptd.out (sanitised obviously).
...
- Oct 23, 2013
The 11.4 f5.http template uses the following:
The extra backslash is consumed within the iApp, and the result is correct. It does not use app_utils.'GET $::monitor__uri HTTP/1.1\\r\\nHost: $hostname\\r\\nConnection: Close\\r\\n\\r\\n'
marvn_58503
Nimbostratus
Oct 23, 2013Scroll right, its there, as far as I can see?
- Fred_Slater_856Oct 23, 2013Historic F5 AccountOK, I see it. And the output you are viewing is from scriptd.out or from a sniffer like Wireshark?
- marvn_58503Oct 23, 2013
Nimbostratus
Okay, I've cleaned up my poorly-replied mess in this thread, and have added proper debugging information into the question itself, with output from /var/tmp/scriptd.out and the various test lines of code in the iApp. Thanks for looking at it.
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
