Forum Discussion
Can't get HTTP monitor to work
Hello,
I want to set up a simple HTTP monitor to execute a cgi script :
GET /cgi-bin/script.cgi receive string : service OK
I can successfully perform a CURL or a telnet:80 connection and receive my HTTP response. From web server side, I can also see in my apache logs that everything is OK.
But my monitor does not work. Nothing in my httpd logs. When running a tcpdump from web server side, here is what I've got :
*17:42:04.422157 IP 10.20.0.3.52539 > constellation2.bb.http: P 30:59(29) ack 1 win 46 17:42:04.422185 IP constellation2.bb.http > 10.20.0.3.52539: . ack 59 win 46 *
That seems very poor.
Any idea why a monitor could not do what a telnet can do ?
3 Replies
- Kevin_Stewart
Employee
What does your cURL script look like? Is "service OK" in the payload of the response or a header?
- Torti
Cirrus
try something like this:
GET /cgi-bin/script.cgi\r\n HTTP/1.1\r\nHost: www.xyz.de\r\nConnection: close\r\n\r\n
- systemes_89644
Nimbostratus
Thank you very much Torti, it works !
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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