Docs / Guides
Probes
A probe runs checks and reports the results to yasp. Every install has one built in, This
server, which checks from wherever yasp runs. yasp-probe is the same scheduler as a
separate static binary (or the ghcr.io/yasp-dev/yasp-probe image). Run it in other
regions, inside private networks, or on the machines whose processes you want to watch. It
only makes outbound connections to yasp, so it needs no open ports.
# Adding a probe
-
Probes → Add probe in the dashboard. You get a one-time token, valid for 24 hours, and commands to start the probe.
-
On the machine, the quickest way (Linux, systemd):
curl -fsSL https://status.example.com/probe/install.sh | sudo sh -s -- yasp_enr_…It downloads the yasp-probe release matching your yasp version for the machine's architecture, checks it against the release's
SHA256SUMS, and installs it as theyasp-probeservice. Read the script first if you like; your yasp serves it. The page also has Docker, Compose, plain binary and systemd versions. -
The probe enrolls, stores its own credential in its data directory, and shows as active. Pick it under Run from when you create a monitor, or later under Runs on on a monitor's page.
# Managing probes
Under Probes → Manage:
- New credentials: for a rebuilt machine, a lost data directory, a leaked credential,
or a revoked probe you want back. The current credential stops working at once and you
get a new token. The probe keeps its name, monitors, allowlist and history. Start it with
the new token. An existing installation that still has its old data re-enrolls by itself
when it's given the new token: update
/etc/yasp-probe/envor the container'sYASP_PROBE_TOKEN, and restart it. - Revoke: stop it now. It can't reconnect until it gets new credentials.
- Delete: remove it entirely. Its monitors stay and run on their other probes; past results stay in their history.
- Allowlist: the private networks and hosts it may reach (see below).
# Test before you trust it
Every check monitor has Test now, in the monitor form before you save and on its page afterwards. Pick a probe and it runs the check once, from there, and shows what it saw: up or down, the time taken, the HTTP status or certificate expiry, and the full error. Use it to find out whether a probe can reach a host at all, and why not if it can't.
The built-in probe runs the test straight away. Another probe gets it with its next poll, usually within a second, and the answer comes back in the same request. A probe from before tests existed is reported as too old; upgrade it to test from there.
# Private networks: NetBird, Tailscale, WireGuard, a LAN
A check runs on the probe it's assigned to, so the host has to be reachable from that
probe. If you add nas.netbird.cloud and it runs on the built-in probe, outside your
NetBird network, you get could not resolve nas.netbird.cloud. The fix is to check from a
probe inside the network:
- Install
yasp-probeon a machine that's in the network (any peer will do). - Allow the network's addresses. Probes refuse private addresses by default, so a
misconfigured check can't scan your LAN or a cloud metadata service. Under Probes →
your probe → Network allowlist, add:
- NetBird and Tailscale:
100.64.0.0/10(andfd7a:115c:a1e0::/48for Tailscale over IPv6), - a LAN or WireGuard network: its CIDR, e.g.
192.168.1.0/24or10.8.0.0/24, - or single hosts by name.
- NetBird and Tailscale:
- Create the monitor with Run from set to that probe, and use Test now to confirm.
The error message tells you which of these is missing. A name that doesn't resolve on the
probe says so, with a hint when it looks like a private name (.netbird.cloud, .ts.net,
.internal, .local, .lan, or a name without dots). An address the policy refuses says
it's blocked and names the allowlist.
# Probes in Docker
A container doesn't use the host's VPN DNS: Docker's resolver forwards to the host's upstream servers and skips NetBird's or Tailscale's. Either:
- run the probe container with
network_mode: host, so it shares the host's network and DNS, or - set the monitor's DNS server (under Advanced options) to the network's resolver, e.g.
the resolver NetBird configured on the host (see the nameserver in
/etc/resolv.conforresolvectl statuson a NetBird peer), or100.100.100.100for Tailscale. That address must be in the probe's allowlist too.
services:
probe:
image: ghcr.io/yasp-dev/yasp-probe:latest
network_mode: host # see the host's VPN and its DNS
pid: host # for process monitors: see the host's processes
volumes: ["probe-data:/data"]
environment:
YASP_PROBE_CENTER: https://status.example.com
YASP_PROBE_TOKEN: yasp_enr_…
volumes:
probe-data:# Monitor types a probe runs
| Type | What passes |
|---|---|
| Website or API | An HTTP(S) answer with an accepted status (and body text, if set) |
| Server port | A TCP connection |
| SSL certificate | A verified TLS handshake, degraded inside the warning window |
| DNS record | An answer (matching the expected values, if set) |
| Ping | Echo replies (needs a ping socket on the probe) |
| Database | Postgres answering an SSL request, MySQL/MariaDB sending its greeting, Redis/Valkey answering PING, all without credentials. "Too many connections" or a server still loading is down |
| Mail server | The SMTP greeting and EHLO, plus STARTTLS (or TLS on port 465) with a verified certificate |
| Process | At least (and at most) a number of processes matching a name or command line run on the probe's own machine: install a probe there. Linux and macOS. In Docker, add pid: host |
| Third-party service, Domain expiry | Another company's status page; a domain's registration |
HTTP, TCP, TLS, ping, database and mail checks can each use their own DNS server instead of the probe's system resolver.
A probe only gets checks it can run. Older probes, and probes without a ping socket, are skipped for checks they don't support, and the monitor's page says when no assigned probe can run it.