HTTP Measurements
HTTP application pings are web requests. The only parameter that you need to supply is the URL parameter. It takes the form:
URL=[http://]<host>[:<port>][/<resource>]If you leave out the port, the agent uses port 80. Only the http protocol is supported. If you specify another protocol, for example https, the request isn’t sent, and the measurement is reported with status 0.
When using this type of active measurement, the agent will issue an HTTP request with the following format:
GET /<resource> HTTP/1.0User-Agent: PremiTech PerformanceGuardHost: <host>Connection: ClosePragma: no-cacheContent-Type: */*and await the reply.
If the server responds with a redirect (HTTP status 301 or 302), the agent follows the redirect, up to 10 times. The response time covers all the requests.
If a reply is received (before the timeout is reached) the round-trip time will be noted.
| Parameter | Description |
|---|---|
| Response time | The number of microseconds that it took to get the response. ⚠️ The agent measures the time with the Windows system timer, so the resolution is typically 10 to 16 milliseconds. Responses that are faster than the resolution are reported as 500 microseconds. |
| Status | - 0: A request couldn’t be sent due to a configuration problem, for example an unsupported protocol, or the host name couldn’t be resolved - 100-517: Status code returned by the http server. See internet rfc2616 for details - 999: A response was never received |
| Success | 1 if the status is between 200 and 399, otherwise 0 |
| Iterations | Number of times that the request has been issued - always set to 1 |