HTTP Sensor

<< Click to Display Table of Contents >>

Navigation:  Sensors > Network/Internet Sensors >

HTTP Sensor

The HTTP Sensor can monitor a specified website. It can be used to check the availability or the performance of the website.

Parsing:

The parsing options are only available if the 'Download' option is set to 'Everything' or 'Kilobytes'.

To get the value of a specific group as the result, the group must be named using the identifier 'value', e.g. '...(?<value>...)...'. If the regular expression contains only anonymous groups, the first one will be used as the result. If the expression has no group, the whole match will be used as the result.

The sensor uses the proxy settings of the service user. If you want to set proxy settings, be sure to set them for the correct user. If you use a service user, you can set the proxy settings with the tool "bitsadmin".

Sensor Tasks

Test Sensor

Tests the current sensor settings.

Get Help

Opens the ServerSentinel online help for the current sensor.

Basic Settings

Name

The name of the sensor (max. 100 characters). Choose a meaningful name to clearly identify the sensor.

Sensor is Active

Toggles the sensor ON/OFF.

Check Interval

The interval or times at which which the sensor should perform its checks.

Simple

The sensor performs its checks every x time units, e.g. every 10 minutes.

Daily

The sensor performs its checks daily at one or more (max. 4) fixed times, e.g. daily at 0 and 12 o'clock.

Weekly

The sensor performs its checks at certain days of the weeks at one or more (max. 4) fixed times, e.g. monday to friday at 12 o'clock.

Monthly

The sensor performs its checks at certain days of the month at one or more (max. 4) fixed times, e.g. every 1st of the month at 12 o'clock.

Only check if this Sensor didn't fail

This sensor will only be checked, if the sensor in the drop down list didn't fail.

Further Information

Comment

Short additional information to the sensor (max. 255 characters).

HTTP Options

URL to check

Defines the URL to check (max. 2083 characters).

Download

Defines how much of the website should be downloaded:

Everything

Downloads the whole page from the given URL

Header only

Downloads just the header of the given URL

Kilobytes

Downloads just the configured KB of the given URL

Save the content in the database

If the option is active the content of the downloaded website will be saved in the database (by default it is not active).

Credentials

Here you can either select an existing credential set or create a new one by inserting a display name, an username and a password.

HTTP Timeout (s)

Time span in seconds after which a timeout should occur.

Parsing Options

Name

Name of the regular expression (max. 1024 characters). This name will also be used as data value.

Regular Expression

The regular expression (max. 1024 characters).

 

Meta Data Values

Data Value

Data Type

Description

Checktime

Date

The time the dataset has been created.

Exception Message

String

The message of the error if any occurred.

Response Time

Integer

The response time needed to perform the check.

Status

String

A status string that may contain arbitrary information that was collected by the sensor (max. 255 characters). Per default this value is empty.

Status Flag

Enum

The status of the sensor after the check has been performed.

Data Values

Data Value

Data Type

Description

Checksum

String

The checksum of the HTTP response.

Content

String

The content of the file.

Content encoding

String

The encoding scheme of the content received.

Content length (bytes)

Integer

The size of the content as specified in the Content-Length header of the response. If the Content-Length header is not set in the response, the value is -1.

Content type

String

The content type delivered in the HTTP response.

Last Modified

Date

The last date and time that the content was modified.

Response charset

String

The character set used in the HTTP response.

Status Code

Enum

The status code of the HTTP response.

Besides the values above also any defined from the parsing options will be listed.