Forum Discussion
Luca_55898
Aug 11, 2011Nimbostratus
HTTP Monitor
Hi,
I have a HTTP monitor configured to check a webpage of a node. The config is this:
Send String: GET /heartbeat.html \r\n
Reture String: SUCCESS
I was doing some...
nathe
Aug 11, 2011Cirrocumulus
Luca
I didn't think monitor receive strings were case-sensitive so I double checked and I found this doc on askf5, which applies to all LTM versions:
http://support.f5.com/kb/en-us/solutions/public/12000/300/sol12376.html?sr=15973326
I would probably want to take a look at curl (curl -v http://x.x.x.x/heartbeat.html, for example) to see what was being returned and try and configure a monitor around this. Or fiddler / httpfox if you want to use a GUI.
Also, a successful connection to a page should always return a 200 OK (that's what I've always thought anyway).
Curl Example
* About to connect() to x.x.x.x port 80
* Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x.) port 80
> GET / HTTP/1.1
> User-Agent: curl/7.15.3 (i686-redhat-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.7l zlib/1.1.4
> Host: x.x.x.x
> Accept: */*
< HTTP/1.1 200 OK
< Date: Thu, 11 Aug 2011 08:58:22 GMT
N
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