HTTP/HTTPS text monitor

HTTP/HTTPS text monitor

The HTTP monitor downloads a URL and checks that the response contains a given text. It verifies that a website, panel or API returns the right content, not just that the server is on.

Create the monitor

  1. Monitors, new monitor, type Text on a page.
  2. URL: complete, with http:// or https://.
  3. Text to find: a word or fragment that must appear (for example a JSON value such as "status":"ok").
  4. Timeout: up to 60 seconds in total.
  5. Invert search: the monitor fails if the text appears. Useful to detect error messages.
  6. Interval, errors before alerting and recipients.

How it is checked

  • The first 2 MiB of the response are read.
  • Up to 5 redirects are followed.
  • This check reports availability and content; it does not validate the certificate. That is the job of the SSL monitor.
  • If the text is missing and the response was cut by the limit, the error message says so.

Tips

  • Pick a text that only appears when the application really works (a page footer or an API field), not one that also shows on an error page.
  • For services on private networks use Check through. See private networks.

Multi-step HTTP flow

The HTTP flow monitor type runs a sequence of steps, the way a person would: open the login page, sign in, submit a form and check the result. Available on paid plans (Inicial and up).

  1. Monitors, new monitor, type HTTP flow.
  2. In Steps the sequence is built with a visual editor. Each step has a method, URL, headers, body (form or JSON), expected status, expected text or regex and variables to extract. The "Edit as JSON" toggle lets you write the steps by hand.
  3. Cookies are kept from one step to the next.
  4. Values extracted from a response (for example a token) are used as variables in the next steps.
  5. In Secrets you add name=value pairs (passwords, tokens). They are stored encrypted and used in the steps as {{secret:name}}.
  6. Verify the TLS certificate turns validation of the site certificate on or off.
  7. Total timeout (seconds) limits the duration of the whole flow.

The panel shows the time of each step and which one failed. It fits watching whole processes (sign-in, cart, forms) and not only that the main page responds.