Monitor send string - space between GET and HTTP
Hi All,
Today I witnessed an issue where I would like to have your inputs or point me to the right article to learn more on this.
Issue:
Pool members marked down.
Monitor:
send "GET /monitor/bigip.html HTTP/1.1\r\nUser-Agent:BigIP Prober\r\nHost: host.domain.com\r\nConnection: close\r\n\r\n"
As you can see, there's 2 space between the bigip.html and HTTP/1.1.
On the webserver logs, we had observed 400 error message. Which is when I suspected it could be the request being sent is failing in some manner, maybe syntax issue. So I worked on the monitor send string. Because when I tested with curl, i did get my recv string.
Solution:
I updated the monitor string with single space and it started working.
Monitor:
send "GET /monitor/bigip.html HTTP/1.1\r\nUser-Agent:BigIP Prober\r\nHost: host.domain.com\r\nConnection: close\r\n\r\n"
Just single space between bigip.html and HTTP/1.1
I'm trying to go through multiple articles to get some sense. Any help is appreciated.