Advanced Networking Services Guide

Table Of Contents
Example: Extensions Supported for Each Protocol
Table 51. Extensions for HTTP/HTTPS Protocols
Monitor Extension Description
no-body Does not wait for a document body and stops reading after
the HTTP/HTTPS header.
NOTE An HTTP GET or HTTP POST is still sent; not a
HEAD method.
max-age=SECONDS Warns when a document is more than SECONDS old. The
number can be in the form 10m for minutes, 10h for hours,
or 10d for days.
content-type=STRING Specifies a Content-Type header media type in POST calls.
linespan Allows regex to span newlines (must precede -r or -R).
regex=STRING or ereg=STRING Searches the page for regex STRING.
eregi=STRING Searches the page for case-insensitive regex STRING.
invert-regex Returns CRITICAL when found and OK when not found.
proxy-authorization=AUTH_PAIR Specifies the username:password on proxy servers with
basic authentication.
useragent=STRING
Sends the string in the HTTP header as User Agent.
header=STRING Sends any other tags in the HTTP header. Use multiple
times for additional headers.
onredirect=ok|warning|critical|follow|sticky|stickyport Indicates how to handle redirected pages.
sticky is like follow but stick to the specified IP address.
stickyport ensures the port stays the same.
pagesize=INTEGER:INTEGER Specifies the minimum and maximum page sizes required
in bytes.
warning=DOUBLE Specifies the response time in seconds to result in a
warning status.
critical=DOUBLE Specifies the response time in seconds to result in a critical
status.
Table 52. Extensions for HTTPS Protocol Only
Monitor Extension Description
sni Enables SSL/TLS hostname extension support (SNI).
certificate=INTEGER Specifies the minimum number of days a certificate has to
be valid. The port defaults to 443. When this option is used,
the URL is not checked.
authorization=AUTH_PAIR Specifies the username:password on sites with basic
authentication.
Table 53. Extensions for TCP Protocol
Monitor Extension Description
escape
Allows for the use of \n, \r, \t, or \ in a send or quit
string. Must come before a send or quit option. By default,
nothing is added to send and \r\n is added to the end of
quit.
all Specifies all expect strings need to occur in a server
response. By default, any is used.
vCloud Air Advanced Networking Services Guide
44 VMware, Inc.