
Health monitors
BIG-IP® Reference Guide 4 - 141
Both transparent and reverse modes are options. (For more information
about transparent and reverse modes, refer to Using transparent and reverse
modes, on page 4-150.)
Using http
The http template is for HyperText Transfer Protocol. Like a tcp monitor,
an http monitor attempts to receive specific content from a web page, and
unlike a tcp monitor, sends a user name and password. The check is
successful when the content matches the recv expression. An http monitor
uses a send string, a recv expression, username, password, and optional
get, url, transparent and reverse statements. (If there is no password
security, use blank strings [""] for username and password.) The optional
get statement replaces the send statement, automatically filling in the string
"GET". Thus the following two statements are equivalent:
send "GET/"
get "/"
The optional url statement takes the HTTP URL as a value and
automatically fills in the dest value with the address the URL resolves to.
(For more information about transparent and reverse modes, refer to Using
transparent and reverse modes, on page 4-150.) Both transparent and
reverse modes are also options. (For more information about the get and url
statements, refer to Using send, receive, url, and get statements, on page
4-150.)
monitor tcp {
#type tcp
interval 5
timeout 16
dest *:*
send ""
recv ""
//reverse
//transparent
}
Figure 4.56 The tcp monitor template
monitor http {
#type http
interval 5
timeout 16
dest *:*
send "GET /"
recv ""
username ""
password ""
//get
//url
//reverse
//transparent
}
Figure 4.57 The http monitor template
Comentarios a estos manuales