Properties and command-line options

The properties and command-line options specific to the HTTP monitor are described in the following table.

Table 1. HTTP monitor properties and command-line options

Property name

Property parameter

Command-line option

Description

AllowDuplicate Download 0|1 -allowduplicate download
Forces pages to be downloaded each time they are found.
  • 0 - disabled (downloaded only once)
  • 1 - enabled

ForceHTMLParse

0|1

-forcehtmlparse

Forces pages that do not have content-type text/html to be parsed as HTML.
  • 0 - disabled
  • 1 - enabled

GenerateProxyTokens

0|1

-generateproxytokens

Specifies whether the monitor generates additional elements containing information about the proxy server if a proxy server is used in a test.
  • 0 - disabled
  • 1 - enabled (additional elements $server and $port contain values for the proxy server)

GETALLThreadNum

1|2|3|4|5

-getallthreadnum

Specifies the number of separate threads to use during a GETALL request.

GetLinkTags

0|1

-getlinktags

Activates download of linked stylesheets for GETALL requests:
  • 0 - disabled
  • 1 - enabled (if the target page contains a link tag with attribute value rel=stylesheet, the monitor attempts to download the resource referred to by the link tag's href attribute)

HostnameLookupPreference

string

-hostnamelookuppreference

Determines which IP version, IPv6 or IPv4, is applied to the supplied host name. The possible values are:
  • 4Then6 selects IPv4 and then IPv6. Uses IPv4 addresses if they are available. If no IPv4 addresses are found, IPv6 addresses are used.
  • 6Then4 selects IPv6 and then IPv4. Uses IPv6 addresses if they are available. If no IPv6 addresses are found, IPv4 addresses are used.
  • 4Only selects IPv4 only. Uses IPv4 addresses only. If there are no IPv4 addresses, the poll returns an error.
  • 6Only selects IPv6 only. Uses IPv6 addresses only. If there are no IPv6 addresses, the poll returns an error.
  • 6Or4 selects either IPv4 or IPv6. Uses the first address returned from the host name.

Default: 4Then6

Ipv6Address

integer

-ipv6address

The local address to bind to as an origin for HTTP requests when using HTTP IPv6.

Default: no address

NoParseExtensions

string

-noparseextensions

A comma-separated list of file extensions indicating file types that the monitor will not parse and instead only download.

OutputDirectory

string

-outputdirectory

Specifies the output directory to use if OutputResult is true (set to 1).

Default: $ISMHOME/var

OutputResult

0|1

-outputresult

Specifies whether the monitor saves the data it receives from the service.
  • 0 - disabled
  • 1 - enabled

RelativeRedirects

0|1

-relativeredirects

Allows Location fields in HTTP 301/302 status codes to contain relative URLs instead of absolute URLs.
  • 0 - absolute URLs
  • 1 - relative URLs

RFCPOST

0|1

-rfcpost

Specifies that the monitor should follow RFC1945 and RFC2616 and send a second POST after a redirect. Many web servers do not expect a POST after a redirect and most browsers do not follow the RFCs.
  • 0 - disabled
  • 1 - enabled
Attention: Do not set the monitor's QSize property to a value less than 1024000.