Menu

Site navigation

LivePulser
Browse the docs

Website and API monitoring

HTTP checks for pages and endpoints: methods, headers, bodies, timeouts and SSL.

An HTTP monitor sends a request to a URL from each region you choose, at the interval you choose. It records whether the check passed and how long the response took. When checks fail, LivePulser opens an incident and alerts the destinations you picked.

When to use it

Use an HTTP monitor for anything that answers HTTP: a marketing site, a login page, a health endpoint on an API, a webhook receiver. It tells you the endpoint answers from the public internet, which is what your users experience.

Each check is one request. A passing check doesn't prove that sign-up, checkout or any other multi-step flow works. To catch a page that loads but shows the wrong thing, use a keyword monitor. To catch a job that silently stops, use a cron monitor.

Before you begin

  • A URL that starts with http:// or https:// and is reachable from the public internet. LivePulser rejects localhost, loopback and private IP addresses, cloud metadata addresses and names, and host names that end in .local, .internal, .localhost, .localdomain or .home.arpa. A host name without a dot, such as redis or db, is refused too. IPv4 addresses still work. IPv6 isn't supported yet: checks run over IPv4, so the host needs an IPv4 (A) record.
  • If the endpoint needs authentication, a dedicated, read-only token created just for monitoring.
  • If a firewall or CDN in front of the site blocks some countries, a list of the regions you plan to check from, so you can confirm they aren't blocked.

Create an HTTP monitor

  1. Click New monitor, then choose Website.
  2. Enter a Name (at least 2 characters). In URL, pick https:// or http:// and type the rest of the address, including any path, for example example.com/health. You can paste a whole cURL command instead (see below).
  3. Check the Request section. New website monitors send a HEAD request (status and headers, no page body) with no extra headers or body, and follow redirects. Change the method, headers, body or Follow redirects there if the endpoint needs them.
  4. Optionally, click Test to run one check now from a probe and see the result before you create the monitor (see Test before you create). Then click Continue.
  5. On the SSL & Domain step, choose whether to check the SSL certificate, and whether to get domain expiry reminders. Click Continue. See Domain and SSL certificates.
  6. On the Settings step, set Check frequency and Monitoring regions. Open Advanced settings to change Timeout or Retries. Click Continue.
  7. On the Alerts step, choose where alerts go. See Choose notification destinations.
  8. Check the Review step, including the method it shows, and click Create monitor.

Test before you create

Beside the form (below it on a phone), in both Quick and Advanced, a Test panel reads "Run one check now from a probe, to see the monitor works before you create it." Click Test to run one real check of the monitor as you've filled it in so far, with the same check code that real monitoring uses. It runs from the monitor's first selected region, or from the first available location if you haven't chosen regions yet (you pick them later, on the Settings step). Nothing is saved, and no incident or alert is created.

The result shows Up or Down, the location it ran from, the status line (for example 200 OK or 301 Moved Permanently) and the response time in ms. When the target couldn't be reached, it gives a plain reason, such as Timed out waiting for a response., Connection refused. or The name doesn't resolve to a public address. It also shows any SSL problem.

For website and keyword monitors, a line underneath shows how long each step took: DNS (looking up the name), Connect (opening the connection), TLS (the handshake, for https only) and Server (from the open connection to the first byte of the answer). For example, DNS 2 ms · Connect 30 ms · TLS 31 ms · Server 90 ms. A slow Server means your server is slow to answer; slow Connect and TLS usually mean the probe is far from the server. If the check failed partway, the step it stopped in reads didn't finish, with how long it ran. Redirects that were followed are counted, and each step adds up over them.

Each team can run 10 tests a minute and 200 a day, each person 6 a minute, and each team 4 a minute against the same host. Past that you'll see Too many tests. Wait a moment and try again. If a probe can't run the test, you'll see that tests from that location aren't available right now, or that its probe didn't answer in time. Try again in a minute.

Check that it works

You'll see Monitor created, with the target, the check schedule (for example Every 5 minutes from Virginia, Frankfurt, Singapore) and the status Active · Waiting for the first check results. Click View monitor. After the first checks run, Health Status shows Healthy, Latest check shows how long ago the last check ran, and the Response time analysis chart starts to fill in.

If Health Status shows Down or Degraded straight away, open the incident and read the Server response for each region. See Common monitoring errors.

Example: a public website

To watch a company home page, choose https:// and enter example.com. Set Check frequency to 1 minute on a paid plan, or keep the 5-minute default on Free, and keep two or three regions near your customers, such as Frankfurt, Germany and Virginia, USA. The default HEAD request is fine here. If example.com redirects to www.example.com, the check follows the redirect, because Follow redirects is on by default. Click Test on the Details step to see the page answer before you go on.

Example: an authenticated API endpoint

Suppose your API has a health check that needs a POST with a bearer token. Paste the whole cURL command into the URL field:

Paste into the URL field
curl -X POST https://api.example.com/v1/health \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{"checks": ["database", "cache"]}'

Replace <your-api-key> with a token your API issues for monitoring. LivePulser shows cURL command imported successfully!, fills in the URL, sets HTTP method to POST, puts both headers in HTTP headers and the JSON in Request body. Check the result in the Request section before you continue.

The import reads the URL and these options: -X/--request, -I/--head (selects HEAD), -H/--header, -d/--data/--data-raw/--data-binary/--data-ascii, --url, and -L/--location (turns on Follow redirects). Other options, such as -u, are skipped. The text must start with curl. If it shows Failed to parse cURL command, fill in the fields by hand.

Request settings

These are in the Request section on the Details step of Advanced. Quick uses the defaults: HEAD, no extra headers or body, and follow redirects. Later, change the method, headers and body in URL and request, and redirects in Check settings, both in the monitor's actions sidebar.

SettingWhat it doesDefault and limits
HTTP methodHEAD, GET, POST, PUT, DELETE, OPTIONS or PATCH. HEAD asks for the headers only, without the page body.HEAD for new website monitors. Pick GET if your server doesn't answer HEAD the way it answers GET. A pasted cURL command with -I or --head selects HEAD.
Follow redirectsFollow a redirect (301, 302) to the page it points to and check that page. Turn off to treat a redirect as down. When on, the check follows up to 10 redirects and judges the final response.On for new monitors. Existing monitors keep their setting. A pasted cURL command with -L or --location turns it on.
HTTP Headers (optional)One header per line as Key: Value, for example Authorization: Bearer <your-api-key>. Lines without a colon are ignored. There are no username or password fields: for basic authentication, send an Authorization: Basic … header.Up to 20 headers. Names up to 100 characters, using letters, numbers, - and _. Values up to 1,000 characters. Content-Type values for forms or file uploads (multipart/… and application/x-www-form-urlencoded) and Transfer-Encoding: chunked are rejected.
Request Body (optional)A JSON object to send, for methods such as POST, PUT or PATCH. The field shows Valid JSON or Invalid JSON format as you type. If your API needs a Content-Type header, add it under headers.Must be a valid JSON object. Up to 50 top-level fields, nested at most 5 levels, arrays up to 100 items, text values up to 10,000 characters. Long base64-looking values in fields with names such as file, upload or data are rejected.

Timing, retries and regions

These are on the Settings step. Timeout, Retries and Immediate retry are inside the collapsed Advanced settings section.

SettingWhat it doesDefault and range
Check frequencyHow often each region checks.5 minutes. Up to 24 hours. The fastest is 5 minutes on Free, 1 minute on Starter and Team, 30 seconds on Pro.
Monitoring regionsWhere checks run from: Frankfurt, Germany; Virginia, USA; San Jose, USA; Singapore; Tokyo, Japan; São Paulo, Brazil; Melbourne, Australia. Each region checks independently.Virginia, Frankfurt and Singapore. At least one. Up to 3 on Free, all 7 on paid plans.
TimeoutThe longest the whole check may take, from connecting to receiving the response.30 seconds. 5 to 30 seconds on Free, 5 to 60 seconds on paid plans.
RetriesHow many failed checks in a row it takes to open an incident. The failed checks are the normal scheduled ones, so with 3 retries and a 1-minute frequency an incident opens about 2 minutes after the first failure. 0 and 1 both open an incident on the first failed check.3. From 0 to 5.
Immediate retryShown as "Retry immediately upon failure". Paid plans only: on Free it has a Paid plans badge and can't be turned on. After the first failed check, the remaining retries run straight away, 2 seconds apart, instead of waiting for the next scheduled checks. Each of these quick retries has a timeout of at most 5 seconds.Off.

To change these after creation, use Check settings (where the timeout is labelled Request timeout) and Monitoring locations in the monitor's actions sidebar. See the Settings reference for every field.

Retries are counted separately in each region, and a success resets the count. Each check counts once against uptime, with its final result, even if no incident opens.

What counts as up

A check passes when the server answers with a status code from 200 to 299. With Follow redirects on, codes from 300 to 399 also pass. Everything else fails, including 4xx and 5xx codes. You can't choose which status codes count as success.

  • LivePulser sends your method, headers and body, with the user agent LivePulser-Monitor/1.0. It reads at most the first 1 KB of the response body and doesn't look at its content.
  • With Follow redirects off, a redirect such as http to https, or example.com to www.example.com, fails the check. The Server response shows the redirect status, for example 301 Moved Permanently.
  • With Follow redirects on, more than 10 redirects in a row fail with stopped after 10 redirects.
  • The check doesn't reject a certificate on its own: an expired or untrusted certificate doesn't make the check fail. To hear about certificate problems, turn on Check SSL errors.

SSL certificate checks

For https:// URLs, the SSL Certificate card on the SSL & Domain step has Check SSL errors. It's off by default. When it's on, each check also inspects the certificate the server sent. A problem opens an incident of type SSL on the first check that finds it, without waiting for retries, and alerts are titled SSL/TLS Issue Detected. The incident resolves when a check finds no problem. An SSL problem doesn't mark the monitor down. SSL options are disabled for http:// URLs.

The check reports a certificate that has expired, isn't valid yet, was issued for a different host name, is self-signed, is signed by an untrusted authority, leaves out its intermediate certificate, has been revoked, or uses an MD5 or SHA-1 signature. A server that only offers TLS 1.0 or 1.1 fails the check itself. Renewals are picked up on their own, so there's no certificate date to keep. The full list is in Common monitoring errors.

A certificate that is close to expiry isn't reported as a problem. Instead, with Check SSL errors on, the monitor's alert destinations get reminders 30, 14, 7 and 1 day before the certificate expires.

The Domain registry card has Expiry reminders. Turn it on and LivePulser looks up the domain's expiry date with its registry. If the registry doesn't publish it, click Pick a date. Reminders go to the monitor's alert destinations 30, 14, 7 and 1 day before the date, and once more in the week after it. To change either setting later, use SSL & domain in the actions sidebar. See Domain and SSL certificates.

Reading the results

The monitor page shows Health Status, Latest check, an Uptime overview for the past week, month and three months, and a Response time analysis chart in milliseconds. Response time is averaged over successful checks only. See Understand your first results.

When only some regions fail

If some regions fail and others pass, the monitor is Degraded. If all of them fail, it's Down. Either way there's one incident, with a row for each affected region. One failing region often points to a network problem between that location and your server, a CDN edge problem, or a firewall that blocks some countries.

New monitors alert only when every selected region fails: Critical only is on by default. To hear about a failure in a single region too, turn it off under Monitoring regions on the Settings step in Advanced, or later in the monitor's Alerts.

When a problem is detected

Before the incident opens, a second probe checks once more, so a problem on one of our probes doesn't alert you. LivePulser then opens an incident, records which regions failed and when, and notifies the monitor's destinations once. When every region passes again, the incident resolves by itself and a recovery alert goes to the same places. Alerts aren't repeated while the outage lasts. See Incidents and recovery.

Troubleshooting

ProblemLikely causeWhat to do
Down, but the page loads in a browserThe method is HEAD (the default), and some servers answer HEAD differently from GET, for example with 405 or 404.Set HTTP method to GET in URL and request. To see what a probe gets, start a new monitor with the same URL and click Test on the Details step. You don't have to create it.
Down after a redirectThe URL redirects (for example http to https, or to a login page) and Follow Redirects is off.Enter the final URL, or turn on Follow Redirects in Check settings.
Fails from one region onlyNetwork or CDN trouble near that region, or geo-blocking.Check your firewall and CDN rules for that location. Remove the region in Monitoring locations if you block it on purpose.
API check fails with an auth errorMissing or expired token, or a typo in the header.Check that the header reads Authorization: Bearer followed by a valid token.
Frequent short failuresThe timeout is too short for a slow endpoint.Raise Timeout (up to 30 seconds on Free, 60 on paid plans) or Retries.
Down with Immediate Retry on, but the endpoint is just slowQuick retries use a timeout of at most 5 seconds.Make the endpoint answer within 5 seconds, or turn off Immediate Retry.
URL rejected when savinglocalhost, a private IP address, a host name ending in .local, .internal or a similar private suffix, or a host name without a dot ("use a full domain name, like example.com").Use a public address or a full domain name. See Common setup problems.
Saving fails with Invalid request bodyThe request body isn't a valid JSON object.Fix the JSON until the field shows Valid JSON.
Removed headers or body come backClearing the field in URL and request doesn't remove what's saved.Replace them with the values you want, or create a new monitor.