Forum Discussion
What is the correct way to script multiple newline characters in iApp (to create a monitor)
- 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'
OK, that helps. There is nothing inherent in iApps that does anything specific with monitors, but the iApp template code may be adding an extra newline. Scriptd.out logs are created by the iApp itself, and can sometimes be misleading when the log contains escaped characters. You may want to check the monitor you create in the UI, or directly check the traffic with Wireshark to see if you really have a problem. If you tell me which iapp you are using and which version of TMOS (11.3 perhaps?) you are running, I can look at the code and try to explain what you are seeing.
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
