Here are the options in the configuration schema for the HTTP resource.

For the HTTP resource, the netservices plug-in descriptor default values are:

  • port: 80

  • sslport: 443

HTTP Configuration Options

Table 1. ssl Option

Option Information

Value

Description

Use ssl

Default

false

Optional

true

Type

boolean

Notes

N/A

Parent Schema

ssl

Table 2. hostname Option

Option Information

Value

Description

Hostname

Default

localhost

Optional

false

Type

N/A

Notes

The hostname of system that hosts the service to monitor. For example: mysite.com

Parent Schema

sockaddr

Table 3. port Option

Option Information

Value

Description

Port

Default

A default value for port is usually set for each type of network service by properties in the netservices plug-in descriptor.

Optional

false

Type

N/A

Notes

The port on which the service listens.

Parent Schema

sockaddr

Table 4. sotimeout Option

Option Information

Value

Description

Socket Timeout (in seconds)

Default

10

Optional

true

Type

int

Notes

The maximum length of time the agent waits for a response to a request to the remote service.

Parent Schema

sockaddr

Table 5. path Option

Option Information

Value

Description

Path

Default

/

Optional

false

Type

N/A

Notes

Enter a value to monitor a specific page or file on the site. for example: /Support.html.

Parent Schema

url

Table 6. method Option

Option Information

Value

Description

Request Method

Default

HEAD

Optional

false

Type

enum

Notes

Method for checking availability.

Permitted values: HEAD, GET

HEAD results in less network traffic.

Use GET to return the body of the request response to specify a pattern to match in the response.

Parent Schema

http

Table 7. hostheader Option

Option Information

Value

Description

Host Header

Default

none

Optional

true

Type

N/A

Notes

Use this option to set a Host HTTP header in the request. This is useful if you use name-based virtual hosting. Specify the host name of the Vhost's host, for example, blog.mypost.com.

Parent Schema

http

Table 8. follow Option

Option Information

Value

Description

Follow Redirects

Default

enabled

Optional

true

Type

boolean

Notes

Enable if the HTTP request that is generated will be re-directed. This is important, because an HTTP server returns a different code for a redirect and vRealize Operations Manager determines that the HTTP service check is unavailable if it is a redirect, unless this redirect configuration is set.

Parent Schema

http

Table 9. pattern Option

Option Information

Value

Description

Response Match (substring or regex)

Default

none

Optional

true

Type

N/A

Notes

Specify a pattern or substring for vRealize Operations Manager to attempt to match against the content in the HTTP response. This enables you to check that in addition to being available, the resource is serving the content you expect.

Parent Schema

http

Table 10. proxy Option

Option Information

Value

Description

Proxy Connection

Default

none

Optional

true

Type

N/A

Notes

If the connection to the HTTP service goes through a proxy server, supply the hostname and port for the proxy server. For example, proxy.myco.com:3128.

Parent Schema

http

Table 11. requestparams Option

Option Information

Value

Description

Request arguments. For example, arg0=val0, arg1=val1, and so on.

Default

N/A

Optional

true

Type

string

Notes

Request parameters added to the URL to be tested.

Parent Schema

http

Table 12. Credential Option

Option Information

Value

Description

Username

Default

N/A

Optional

true

Type

N/A

Notes

Supply the user name if the target site is password-protected.

Parent Schema

credentials