Knowledge Base

HTTP Advanced Sensor Configuration

Questa pagina anchora non esiste in Italiano. Confidiamo nella Vs. comprensione.

This sensor is an extended version of the HTTP sensor and should be the preferred sensor for website monitoring.

It adds content checking, authentication, and proxy settings or can even notify the user when a webpage is changed. Using this sensor a website/webpage can be monitored for many more aspects than by only using the basic HTTP sensor.

For example it is a good idea to monitor the content of a webpage for error messages that could show up on a webpage in case the database or script engine has problems (e.g. enter "error" in the Response may not include field).

Another good idea for scripted webpages is to monitor that the "</html>" tag is always a part of the result. Many script languages stop processing a scripted webpage upon errors and thus this HTML code is not delivered to the client. Or put a special code in your footers (e.g. "<!—PAGEEND-->") and monitor for this string to make sure the webpages are delivered completely. There are many more options of course…

The HTTP Advanced sensor includes the following parameters:

  • Timeout: If the reply takes longer than this value the request is aborted and an error message is triggered.
  • URL: The URL address of the webpage to monitor (including the leading http:// or https://)
  • Request Method: The HTTP request mode to use (GET, POST, HEAD)
  • SSL Method: Select a SSL encryption method
  • Content: Check this option if you want to monitor any content changes (checksum based). This can be combined with an 'On Change' notification to notify the user when the resulting webpage changes.
  • Response must include: If the resulting HTML does not contain this string, this is considered an error and can trigger a notification.
  • Response may not include: If this string is found in the resulting HTML, this is considered an error and can trigger a notification.
  • Limit download (kb): Enter a maximum amount of data transferred per request. Attention: The content check option may be inaccurate when you use a download limit
  • User: Enter a login name in this field
  • Password: Enter a password in this field
  • Authentication Method: Select between basic and NTLM-based authentication
  • Proxy: If your network requires a proxy to be used for HTTP requests (Note: it is recommended NOT to use proxies for monitoring because when a request fails PRTG 7 does not know whether the proxy or the monitored server failed)
  • Name: IP-address or DNS name of the proxy server in case
  • Port: The port of the proxy server
  • User: Optional username needed to access the proxy
  • Password: Optional password needed to access the proxy
  • Show Error When Above: If the sensor result is higher than this value the sesnor's 'Down' is triggered.
  • Show Warning When Below: If the sensor result is higher than this value the sensor's 'Warning' state is triggered.