diff --git a/networkapi/plugins/F5/monitor.py b/networkapi/plugins/F5/monitor.py index 10d68dd11..e848cb872 100644 --- a/networkapi/plugins/F5/monitor.py +++ b/networkapi/plugins/F5/monitor.py @@ -68,8 +68,8 @@ def prepare_template(self, **kwargs): hr = kwargs['healthcheck'][i]['healthcheck_request'] if kwargs['healthcheck'][i]['healthcheck_type'] in ['HTTP', 'HTTPS']: - healthcheck_request = hr[0:-4] + \ - hr[-4:].replace('\r', '').replace('\n', '') + '\r\n\r\n' + healthcheck_request = hr[0:-8] + \ + hr[-8:].replace("\\r", '').replace("\\n", '') + "\\r\\n\\r\\n" else: healthcheck_request = hr