Dynatrace allows you to easily configure your HTTP monitors when first setting them up and at any time thereafter.
During HTTP monitor creation, configuration settings appear after you have clicked Create an HTTP monitor. These settings are a subset of the full set available in edit mode (described below) after the monitor has been deployed.
To configure an existing HTTP monitor
- Select Synthetic from the navigation menu.
- Select the HTTP monitor you want to configure.
- Click the Browse (...) button and select Edit.
- Click through the HTTP monitor options in the left-hand menu to configure the available settings (explanations below—a subset of these settings are available when you first set up a monitor).
- Click Save changes at bottom right when done editing your monitor.
Within Monitor setup settings you can configure basic monitor properties:
- The URL to check.
- The Name of the monitor. The name is limited to 500 characters.
- The User agent (user agent of the request).
- The Max response size—If the response exceeds this size, it is truncated.
Assign HTTP monitor to a web application
If this synthetic monitor is associated with one of your monitored web applications, you can assign the monitor to the application so you can track application availability and performance. Detected problems will be automatically associated with your application. If monitor status is unavailable, the associated application is also considered unavailable.
Click Assign monitor to application and select an application from the drop-down list. You can assign a monitor to multiple applications, and an application can have several assigned monitors.
Validation and thresholds
You can validate the response to an HTTP request by checking for specific on-screen text and set a notification to alert you if the response time is unusually long.
Response validation helps you verify that your application loads the expected content by checking if the response contains certain text.
You can set a condition to either pass or fail a monitor based on the results of these checks. If pass criteria are not met (or fail criteria are met) the monitor fails and the execution is aborted.
Select the required option and type in the expected text for reference. Keep in mind that texts are case-sensitive.
Select Interpret content match as regular expression if the specified text is defined as a regular expression.
Performance thresholds enable you to receive notification when response time is unusually long so you can be proactive about site latency. Enter the threshold time in seconds. If the response time exceeds this threshold, a problem is generated and you will receive a notification, as defined in Settings > Integration > Problem notifications.
Frequency and locations
There are two factors that make up your monitoring schedule, how frequently your HTTP monitor runs and from which locations it's executed.
These factors determine how often your HTTP monitor runs each hour. For example, running from 3 locations every 15 minutes results in 12 monitor executions each hour.
You can choose from 1, 2, 5, 10, 15, 30 and 60 minute frequencies. You can also select multiple locations from which your HTTP monitor is to be executed from.
HTTP specific settings
In the HTTP specific settings section you can configure HTTP requests that the monitor sends to your website. You can start with the HTTP method of your monitor as the actual set of monitor parameters depends on this.
Basic HTTP authentication
Dynatrace makes it easy to automate the login process for password-protected sites. Just type in your username and password.
Accept any SSL certificate
By default, HTTP monitors accept any SSL certificate, regardless of whether or not they're valid. Deactivate this option to have the monitor fail with invalid SSL certificates.
By default HTTP monitors follow all redirects from an original request, until it reaches the final destination. Deactivate this option to monitor only the first response of the redirect chain.
Set additional HTTP headers
The HTTP monitor is created with a bare minimum set of headers required by the protocol. To add custom headers, Enable additional HTTP headers, type the Header name, then type in its value.
You can specify multiple HTTP headers, which will be set for all requests the HTTP monitor makes. Click Add another to add more headers.
Set request body
You can send the payload with your POST, PUT, and DELETE requests.
To use the request body, you must set up the Content-Type header, and specify the type of the content you're sending, for example