Documentation menu

Checks and intervals

On this page

Each way of watching a host's address is a check, with its own switch on the form.

The checks

  • HTTP(S) — requests the address and records the status code and response time.
  • Ping — checks the machine answers, without involving a web server. For servers that aren't websites.
  • TCP port — checks that a port accepts connections: databases, mail servers, game servers, anything that listens.
  • SSL certificate — watches the certificate and warns before it expires.

On a new host the form switches on the checks that suit your address — see The checks. A non-HTTP check on a URL — ping, a port, the certificate — talks to the URL's host: for https://example-shop.com/health that is example-shop.com.

With a check switched on, its settings appear:

  • How often — every 30 s, 1 min, 5 min, … up to daily, or Custom… for any number of seconds. The interval also sets how much one failure weighs: a check every five minutes runs 288 times a day, so one bad answer barely marks the day, while the daily certificate check turns its whole bar red with one failure. That's why each strip on a host's page names its cadence.
  • Port — only on TCP port, where it is required.

Under Advanced:

  • Timeout — how long one attempt may take before it fails: 5, 10, 15, 30 or 60 s, or Custom… from 1 to 60; 10 by default. It must be shorter than the interval.
  • Mark down when — how many of the host's regions must see a failure before the check is Not responding. Each region is one vote; its probes agree among themselves first. Most regions fail is the default; Any region fails is the most sensitive, All N regions fail the most forgiving. The choices follow the regions of your chosen probes under Where it runs; with probes in one region the setting has no effect until you choose a probe in another. A saved number higher than the regions the probes now span is marked: the check could never go down that way.
  • The check's own options — below.

All are pre-filled with sensible defaults.

History length is not a setting: it is your plan's, the same for every check, and every strip is as long as it. Moving to a smaller plan deletes nothing — older days stop being shown and come back if you move up again.

Options per check

Check Options
HTTP(S) Expected status code — the answer that counts as up (200 by default). Page must contain — if set, the page must contain this text to count as up. Follow redirects — on by default; switch it off to check the redirect itself.
Ping Pings per check — echo requests per attempt (3 by default, up to 10). One answer counts as up.
TCP port Port — next to How often, not under Advanced, because the check can't run without it.
SSL certificate Port — where the certificate is served (443 by default). Warn before expiry, days — how many days before expiry count as expiring soon (14 by default, up to 90).

What the request looks like

The HTTP(S) check sends a plain GET with the header User-Agent: snugdot-probe/<version>, follows up to 10 redirects (unless Follow redirects is off), and opens a fresh connection each time. Use the User-Agent to let checks through a firewall or bot protection, or to leave them out of your analytics. Probes are added and retired over time, so match on the User-Agent rather than on probe addresses.

Where checks run from is set for the whole host — see Where it runs. How the probes' answers become one status — see Hosts.

Switching a check off

A switched-off check stops running. Its interval, timeout and options stay saved and come back when you switch it on.

Pausing a host

To stop the whole host for a while, press Pause on its row in the list or on its page. Every check stops at once.

  • Each check keeps its own switch, so Resume brings back exactly the set that was on.
  • Nothing is lost. Settings and history stay; the strips keep showing what was measured before the pause.
  • The host shows as "Paused". Its row is dimmed, sinks below live hosts when sorted by status, and reads "paused for …". On a status page its line shows "No data yet".
  • No notices while paused. An outage open at the time of pausing is closed within a few minutes as "Host removed" — not as resolved, because Snugdot stopped looking. If the service is still down when you resume, that's a fresh outage with a fresh notice.

Resume is the same button. Probes pick the host up again within a check interval.

What your plan allows

Your plan sets how many hosts you can have, how often checks may run and how long history is kept. Every check type and any number of probes per host come with every plan. The form shows the limits up front:

  • A line above the form names your plan and its numbers, including the history length and the fastest interval, with a link to change the plan.
  • How often greys out intervals faster than your plan allows, marked "not on your plan"; Custom… won't accept a smaller figure either.
  • At your host limit, Add a host stops being a link and says so, and the add page explains the limit.

Every save is also checked on our side. If something doesn't fit, the message says what ("your plan checks at most every 300 seconds") under the field concerned, and the form scrolls there. The form keeps everything you entered, so you correct just that field.

After changing plans

Checks follow the plan the moment it changes. On a smaller plan, checks faster than it allows slow to its interval. History follows the plan both ways: every check keeps exactly the new plan's number of days, so strips widen or narrow at once. Nothing is deleted, and checks already within the limits are untouched. A larger plan changes nothing else: faster intervals are yours to set per check. A status page showing more days than the new plan keeps drops to the widest choice the plan allows.

If the adjustment can't be made at that moment, the plan doesn't change and the page says so; choosing the plan again is safe.

If a host holds a setting your plan no longer allows — for example after the plan itself was changed — its form shows the nearest allowed value and what it was adjusted from. Nothing changes until you save.

Settings → Plan always shows what each plan allows — see Your plan.