Forum Discussion
Alexandru_Atudo
Nimbostratus
Jul 20, 2014HTTP Health Check Using Web Monitoring Tool
We have a web monitoring tool that checks the status of a application on some servers and if it's all good it returns a value of SUCCESS
I am trying to integrate that into a HTTP health check on the ...
Kevin_Stewart
Employee
Jul 27, 2014Given your cURL string, the monitor send string should look something like this:
GET /gatewaymonitoringtool/default.aspx?servername HTTP/1.1\r\nHost: monitoringserver\r\n\r\n
This will send just the request line and Host header. You may want to test with the cURL command to see if the application actually needs these other headers (rare but possible):
curl -v http://monitoringserver/gatewaymonitoringtool/default.aspx?servername -H "Accept:" -H "User-Agent:"
Also, because your monitor request isn't encrypted, you should be able to tcpdump on that interface and see what the actual traffic looks like between the monitor and the server:
tcpdump -lnni 0.0 -Xs0 port 80 [and any additional filters]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
