Skip to content

Install ​

There are two ways to install Probeward on a Linux host:

  • Docker Compose, the reference installation: PostgreSQL 18, Probeward and Caddy, which terminates TLS, on one host. Allow about fifteen minutes, most of it for the first image build. This is the first half of this page, down to Troubleshooting.
  • The deb package for Debian and Ubuntu runs Probeward as a systemd service and leaves PostgreSQL and the reverse proxy to you. See Install with the deb package.

Both run the same server. Upgrade covers moving between releases.

Requirements ​

  • A 64-bit Linux host. Debian and Ubuntu (current stable and LTS) are the supported platforms; other distributions work through Compose on a best-effort basis.
  • Docker Engine with the Compose plugin v2.20 or later (docker compose version). The installer uses docker compose up --wait.
  • A user who may run docker.
  • Free ports 80 and 443, or others you choose (see port clashes).
  • Several gigabytes of free RAM and disk while the image builds (the Rust build is the heavy part), about 1 GB of disk for the images afterwards, and disk for history. Raw scan history is kept 30 days by default; Settings, System shows the current use and an estimate once polling has run for a day.
  • An accurate clock: use NTP (see troubleshooting).
  • For a public domain name: a DNS record pointing at the host, and ports 80 and 443 reachable from the internet, so Caddy can obtain a certificate.
  • The Linux sysctl net.ipv4.ping_group_range must include the container's group id for ping sensors. The Compose file sets it for the container; nothing is needed on the host.

Install ​

Get the repository (a release checkout or a clone), then:

sh
cd probeward/deploy
./install.sh --domain "192.168.1.200"

--domain is the address you open Probeward at from your own machine: the server's IP address, as here, or its DNS name. Probeward usually runs on a server you reach over the network, so give it. Without it the address is localhost, which only works in a browser on the server itself.

  • An IP address (192.168.1.200) or an internal name: Caddy issues a certificate from its own local authority, so the browser asks you to accept it once. For an internal name, also set PROBEWARD_TLS=internal in .env.
  • A public DNS name (monitor.example.org): Caddy obtains and renews a real certificate; ports 80 and 443 must be reachable from the internet.

With non-default ports:

sh
./install.sh --domain "192.168.1.200" --https-port 8443 --http-port 8080

With device templates converted from a LibreNMS release, which the installer downloads from GitHub at your request (see device templates):

sh
./install.sh --with-librenms 26.10.2

What install.sh does:

  1. If deploy/.env does not exist, it creates it from .env.example with a random database password (mode 0600) and the address you gave. It never overwrites an existing .env. The options only apply when it creates the file; edit .env afterwards to change them.
  2. Pulls the PostgreSQL and Caddy images and builds the Probeward image from this repository: the web UI with Node and pnpm, then a statically linked Rust binary with the UI embedded, then a small Alpine image running as an unprivileged user (uid 10001).
  3. Starts the stack and waits until every service reports healthy.
  4. With --with-librenms TAG, downloads that LibreNMS release, converts its device definitions into templates in the templates volume and deletes the download.
  5. Prints the URL and the next step.

It is safe to run again. Running it after git pull upgrades the installation.

Every setting is explained in deploy/.env.example and in configuration. To run the commands by hand, work from deploy/:

sh
docker compose up -d --wait    # start
docker compose ps              # state and health
docker compose logs -f probeward
docker compose down            # stop, keep the data

First-run setup ​

Open the URL the installer printed (https://192.168.1.200 for the install above). A new instance shows the setup page: choose an administrator's user name and a password of at least 12 characters that does not contain the name. The page works once; when any user exists it is refused for good. Further users are added in Settings, Users.

Until you finish this step, anyone who can reach the server can create the first administrator. On a host that is reachable from other machines, install with PROBEWARD_BIND_ADDRESS=127.0.0.1 in .env, finish setup through an SSH tunnel, and then open it up. See security.

Then turn on two-factor login in Account, and continue with your first alert. Two settings are worth making on the first day:

  • A heartbeat (Settings, Global): a URL Probeward fetches every interval while it can alert, so a service outside notices when it stops. Until one is set, every page shows a warning, which an administrator can hide. See configuration.
  • A signing key on each webhook (Settings, Notifications), so receivers can check that a request came from this instance. See webhook.

Failed notifications are retried up to PROBEWARD_DELIVERY_MAX_ATTEMPTS times (8 by default, set in .env).

From a script, the same step is POST /api/v1/setup with {"username": "...", "password": "..."}. Every request that changes something, including this one, needs the header X-Probeward-CSRF: 1.

TLS ​

Caddy serves HTTPS and redirects HTTP to it. The site address in .env (PROBEWARD_SITE_ADDRESS) decides how the certificate is obtained.

  • A public domain name. Caddy requests a certificate from a public authority and renews it. Ports 80 and 443 must be reachable from the internet and the name must resolve to this host. Set PROBEWARD_SITE_ADDRESS=monitor.example.org, PROBEWARD_PUBLIC_URL=https://monitor.example.org, and optionally PROBEWARD_TLS=you@example.org so the authority has a contact address.
  • localhost or an IP address. Caddy issues a certificate from its own local authority. This is the default and is fine for a trial.
  • An internal host name such as monitor.corp.lan. Caddy cannot get a public certificate for it, so set PROBEWARD_TLS=internal to use the local authority.

After editing .env, run docker compose up -d.

To reach the instance by IP address, for example over a VPN, install with ./install.sh --domain 192.0.2.10. The installer only applies --domain when it creates .env. On an existing installation set PROBEWARD_SITE_ADDRESS=192.0.2.10 and PROBEWARD_PUBLIC_URL=https://192.0.2.10 instead. Caddy answers on this one address, so open that and not another of the host's addresses or names.

Trusting Caddy's local authority. Browsers warn about certificates from the local authority until its root is trusted. Copy the root out of Caddy and import it into your operating system or browser trust store:

sh
docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt ./caddy-root.crt

For a quick check with curl, curl --cacert caddy-root.crt https://localhost/. The root lives in the caddy-data volume: if you delete the volume, Caddy creates a new root and every machine must trust it again.

Your own certificate or your own proxy. If you already run a reverse proxy, remove the caddy service from compose.yml, publish Probeward's port to the proxy only (127.0.0.1:8080:8080 on the probeward service), and point the proxy at it. Set PROBEWARD_PUBLIC_URL to the public https URL and PROBEWARD_TRUSTED_PROXIES to the proxy's address. The proxy must not buffer or time out the server-sent events stream at /api/v1/events: the UI uses it for live updates (see the @events block in deploy/Caddyfile).

With a non-default HTTPS port the redirect from the HTTP port points at the default port (443); use the https URL with its port directly.

Remote probes ​

The listener that remote probes connect to is off by default. To turn it on, uncomment this line in deploy/.env and apply it:

sh
COMPOSE_FILE=compose.yml:compose.probes.yml
sh
docker compose up -d --wait

compose.probes.yml sets PROBEWARD_PROBE_LISTEN in the container and publishes the listener on PROBEWARD_PROBE_BIND_ADDRESS:PROBEWARD_PROBE_PORT (default 0.0.0.0:8443) directly from the probeward container, not through Caddy: probes authenticate with client certificates in that TLS session, so nothing may terminate it in between. Open the port inbound in the host firewall, from the remote sites only where you can. Binaries for probe self-update go in deploy/probe-binaries/ (mounted read-only). Every docker compose command run from deploy/, backup.sh and restore.sh included, picks the extra file up from .env. For the probe hosts themselves see deploy/probe/ and probes.

Device templates ​

Device templates of your own, and those imported from LibreNMS, live in the templates volume, mounted at /var/lib/probeward/templates (PROBEWARD_TEMPLATE_DIR). It starts empty, and the server runs with an empty directory. The volume survives recreating the container and upgrades, and backup.sh includes it.

./install.sh --with-librenms TAG imports a LibreNMS release, and running it again with a newer tag re-imports. Probeward ships nothing from LibreNMS: the installer downloads the release from GitHub only when you give the option, prints its SHA-256 and checks it against --librenms-sha256 HEX when you give one. LibreNMS import has the details and the commands to run by hand.

To add a template of your own, write it through the container, so that the file belongs to the server's user (docker compose cp keeps your user id and mode, which the server may not be able to read):

sh
docker compose exec -T probeward sh -c 'cat > /var/lib/probeward/templates/my-pdu.yaml' < my-pdu.yaml

The next discovery job reads it; no restart is needed.

Upgrading ​

Back up with ./backup.sh, then git pull and run ./install.sh again. Upgrade has the whole procedure and rolling back.

Uninstalling ​

sh
cd deploy
./backup.sh            # if you may want the data back
docker compose down    # removes the containers, keeps the volumes
docker compose down -v # also deletes the database, the vault key, the templates and Caddy's certificates

down -v is permanent: without the key file, a database dump cannot be read for its credentials.

Troubleshooting ​

The stack does not become healthy. docker compose ps shows which service. docker compose logs --tail 100 probeward shows why. Common causes:

  • cannot open the database: ... Name does not resolve: PostgreSQL was not ready. Compose restarts Probeward; if you restarted everything at once, it recovers within seconds.
  • cannot open the credential vault: ... does not match this database: the key file is not the one that belongs to the database. Restore the right key; see backup and restore.
  • vault key file ... is readable by group or others: run chmod 600 on it. (Inside the reference install the file is created correctly.)
  • configuration error: ...: a variable in .env has an invalid value.

The container does not start: failed to write sysctl net.ipv4.ping_group_range ... invalid argument. Docker is running in a user namespace (an unprivileged LXC container, for example) and the range in deploy/compose.yml names a group id that does not exist there. Set it to "10001 10001", as current versions do, then run ./install.sh again.

Ping sensors fail with cannot open an ICMP socket. The sensors use unprivileged ICMP datagram sockets, which Linux allows only for group ids inside net.ipv4.ping_group_range. The Compose file sets net.ipv4.ping_group_range: "10001 10001", the container's group id, on the probeward service. The kernel's own default is 1 0, which allows nobody, and Docker versions differ in whether they override it, so the Compose file does not rely on that. If you removed the line, or run Probeward outside Compose, set the sysctl on the host:

sh
sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"
echo 'net.ipv4.ping_group_range = 0 2147483647' | sudo tee /etc/sysctl.d/99-probeward-ping.conf

Check from inside the container: docker compose exec probeward ping -c 1 192.0.2.1 should answer or time out, not say permission denied. A device that does not answer ping at all is a different problem: its firewall.

bind: address already in use for port 80 or 443. Another service owns the port. Either stop it, or choose other ports in .env (PROBEWARD_HTTP_PORT, PROBEWARD_HTTPS_PORT) and update PROBEWARD_PUBLIC_URL to include the HTTPS port, then docker compose up -d. Port 80 is only needed for the redirect and, with a public domain, for certificate validation. To keep the instance off the network entirely, set PROBEWARD_BIND_ADDRESS=127.0.0.1.

The browser cannot connect securely to an IP address (ERR_SSL_PROTOCOL_ERROR, or tlsv1 alert internal error from curl). Check that PROBEWARD_SITE_ADDRESS is the address you open. If the installation is older than the default_sni line in deploy/Caddyfile, update the files and run docker compose up -d --force-recreate caddy: Compose does not notice a changed Caddyfile by itself.

A second instance on the same host. Use a different directory, or set COMPOSE_PROJECT_NAME in .env to give it its own containers, network and volumes, and use different ports.

The browser warns about the certificate. Expected with Caddy's local authority until you trust its root; see TLS. For a public domain, check the DNS record and that ports 80 and 443 reach the host: docker compose logs caddy shows the authority's answer.

Two-factor codes are rejected, or sessions end early, or certificates look "not yet valid". The clock is wrong. Codes are valid for 30 seconds, with one step of tolerance either way. Time comes from the host: run timedatectl status and enable NTP. Stored times are UTC; TZ in .env only changes log timestamps.

The UI shows "Reconnecting". The live stream at /api/v1/events is cut. A proxy in front of Caddy may be buffering or timing out streams; the reference Caddyfile does neither.

I forgot the administrator's password. Reset it from the host:

sh
printf '%s\n' 'a new long passphrase' | docker compose exec -T probeward probeward admin reset-password admin

Sensors show "runtime unavailable" or the controls answer 503. The server runs without the monitoring runtime, because PROBEWARD_NO_RUNTIME is set. Settings, System says so. Remove the variable and restart. See configuration.


Install with the deb package ​

The package runs Probeward as a systemd service under its own unprivileged user. It does not install PostgreSQL for you and it does not serve HTTPS: you provide a PostgreSQL 18 database and, for any use beyond a trial, a reverse proxy with TLS. Allow half an hour the first time.

Requirements for the deb package ​

  • Debian 13 (trixie) or Ubuntu 24.04 LTS, with systemd, on x86-64. The ARM64 package is built from the same source for ARM64 hosts, and has not been run on real hardware by the project.
  • PostgreSQL 18 or later, on this host or another one. Debian 13 and Ubuntu 24.04 ship older major versions in their own archives (17 and 16), which Probeward does not support. Use the PostgreSQL project's apt repository: install postgresql-common and run /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh, then sudo apt install postgresql-18. Its instructions are at https://www.postgresql.org/download/linux/. The package only recommends PostgreSQL 18 (postgresql-18), so a stock Debian does not pull in an unsupported version by accident.
  • A reverse proxy with TLS: Caddy or nginx, described below.
  • An accurate clock (NTP), as for Compose: see troubleshooting.
  • Disk and memory as for Compose: raw history is kept 30 days by default, and Settings, System shows the use and an estimate once polling has run for a day.

1. Create the database ​

On the database host, as the PostgreSQL superuser. The role owns the database because Probeward creates and migrates its own schema when it starts. It needs no superuser rights and no extensions.

sh
sudo -u postgres psql <<'SQL'
CREATE ROLE probeward LOGIN PASSWORD 'replace-with-a-long-random-password';
CREATE DATABASE probeward OWNER probeward;
SQL

Make a password with openssl rand -hex 24: letters and digits keep it safe inside a connection URL. For a database on another host, allow the connection in pg_hba.conf for the role and the address of the Probeward host, and set listen_addresses. Prefer an encrypted connection across a network: add ?sslmode=require to the URL below (the option is read by the database library; the project has not tested it).

Check the credentials from the Probeward host with psql 'postgres://probeward:PASSWORD@HOST:5432/probeward' -c 'select version()'; it must say PostgreSQL 18 or later.

2. Install the package ​

Download the package for your architecture and SHA256SUMS from the release page. Check the download, then install it:

sh
sha256sum --check --ignore-missing SHA256SUMS
sudo apt install ./probeward_<version>_amd64.deb

apt fetches the few dependencies (adduser, ca-certificates, init-system-helpers, procps). The package then:

  • creates the system user and group probeward, with no login shell and /var/lib/probeward as home;
  • creates the directory /var/lib/probeward/vault (mode 0700) and, if it does not exist, the vault master key vault.key in it: 32 random bytes, mode 0600, owned by the service user. See the vault key;
  • installs the unit probeward.service. It is neither enabled nor started until the environment file names a database, because it cannot run before: a host that only runs a remote probe never has a failed unit or error messages from it;
  • installs the remote probe's unit probeward-probe.service, its user and its environment file, and leaves them switched off;
  • installs /etc/probeward/probeward.env, which holds every setting, commented out;
  • installs the sysctl setting that lets the service send pings, described below.

3. Point it at the database ​

Edit /etc/probeward/probeward.env (root only: it will hold the password) and set at least these:

sh
sudoedit /etc/probeward/probeward.env
PROBEWARD_DATABASE_URL=postgres://probeward:PASSWORD@127.0.0.1:5432/probeward
PROBEWARD_PUBLIC_URL=https://monitor.example.org

PROBEWARD_PUBLIC_URL is the address people will type, with no trailing slash; it controls the Secure flag of the session cookie and the links in notifications. Leave PROBEWARD_LISTEN at its default, 127.0.0.1:8080: the server speaks plain HTTP and only your reverse proxy should reach it. Every variable is explained in the file and in configuration.

4. Start it and create the first administrator ​

sh
sudo systemctl enable --now probeward
systemctl status probeward --no-pager
curl -fsS http://127.0.0.1:8080/readyz        # {"status":"ok"} once the database answers

On the first start the database schema is created. The journal says probeward listening. Until you have a reverse proxy, reach the server from your own machine through an SSH tunnel: ssh -L 8080:127.0.0.1:8080 host and open http://localhost:8080. Create the first administrator on the setup page as described in First-run setup. Because the server listens on the loopback address only, nobody else can claim the instance before you do.

5. HTTPS with a reverse proxy ​

Put a reverse proxy in front. Whichever one you use, three things matter:

  1. The live stream. The web interface keeps a server-sent events connection open at /api/v1/events for live updates. The proxy must not buffer it, compress it or close it after a timeout. The examples handle it separately. Without that the interface works but shows "Reconnecting".
  2. PROBEWARD_PUBLIC_URL must be the proxy's https address.
  3. PROBEWARD_TRUSTED_PROXIES decides whose X-Forwarded-For header is believed. The default is the loopback address, which is right for a proxy on the same host. If the proxy is on another host, set it to that host's address, and only that. See security.

Caddy ​

Caddy obtains and renews a certificate for a public name by itself (ports 80 and 443 must be reachable from the internet). Install it (sudo apt install caddy), put this in /etc/caddy/Caddyfile and run sudo systemctl reload caddy:

monitor.example.org {
	header {
		Strict-Transport-Security "max-age=31536000"
		-Server
	}

	# Server-sent events: pass each message on at once and never time the stream out.
	@events path /api/v1/events
	handle @events {
		reverse_proxy 127.0.0.1:8080 {
			flush_interval -1
			transport http {
				read_timeout 0
				response_header_timeout 0
				keepalive 24h
			}
		}
	}

	handle {
		encode zstd gzip
		reverse_proxy 127.0.0.1:8080
	}
}

For an internal name that no public authority can certify, add tls internal inside the site block; Caddy then uses its own authority, whose root certificate you import into your browsers.

nginx ​

With a certificate you already have (from your own authority or from certbot), in /etc/nginx/conf.d/probeward.conf:

nginx
server {
    listen 80;
    server_name monitor.example.org;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl;
    http2 on;
    server_name monitor.example.org;

    ssl_certificate     /etc/ssl/certs/monitor.example.org.pem;
    ssl_certificate_key /etc/ssl/private/monitor.example.org.key;
    add_header Strict-Transport-Security "max-age=31536000" always;

    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;

    # Server-sent events: no buffering, no compression, and no time limit on the stream.
    location = /api/v1/events {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Connection "";
        proxy_buffering off;
        proxy_cache off;
        gzip off;
        proxy_read_timeout 1d;
    }

    location / {
        proxy_pass http://127.0.0.1:8080;
    }
}

Check it with sudo nginx -t and apply it with sudo systemctl reload nginx. A proxy in front of this proxy needs the same treatment for /api/v1/events.

Where things are ​

PathWhat
/usr/bin/probewardThe server: one static binary with the web interface embedded.
/usr/bin/probeward-adminRuns probeward admin ... as the service user with the service's settings.
/usr/lib/systemd/system/probeward.serviceThe unit. Do not edit it; use systemctl edit probeward for overrides.
/etc/probeward/probeward.envThe core's settings. Kept on upgrade; root only.
/usr/lib/systemd/system/probeward-probe.serviceThe remote probe's unit. Not enabled by the package.
/etc/probeward/probeward-probe.envThe probe's settings, with its pairing token. Root only.
/var/lib/probeward-probe/The probe's key, certificate and buffer, owned by probeward-probe, mode 0700. Deleted by apt purge.
/var/lib/probeward/The state directory, owned by probeward, mode 0750.
/var/lib/probeward/vault/vault.keyThe vault master key. See below.
/usr/lib/sysctl.d/60-probeward.confLets the service group open ICMP sockets.
/usr/share/doc/probeward/This documentation, the changelog, and the licences of everything the binary contains.
man probewardThe manual page.

There are no log files: the service writes to the journal.

sh
journalctl -u probeward -f                  # follow
journalctl -u probeward --since "1 hour ago" -p warning

Set PROBEWARD_LOG=debug (or a filter such as probeward_server=debug,info) in the environment file and restart to see more. PROBEWARD_LOG_FORMAT=json writes one JSON object per line.

The unit and its hardening ​

The service runs as probeward:probeward and can only write to its state directory. The unit sets NoNewPrivileges, ProtectSystem=strict, ProtectHome, PrivateTmp, PrivateDevices, no capabilities at all, only the address families IPv4, IPv6 and Unix, a system call filter, and the other restrictions you can read in the file. systemd-analyze security probeward rates it 1.2, "OK".

Two consequences. A Nagios plugin that needs a setuid helper (check_icmp, for example) cannot gain that privilege under this unit; use a plugin that does not need it, or see scripts. And the server cannot read your home directories or write outside /var/lib/probeward.

The vault key ​

Credentials (SNMP communities, SSH and Windows passwords, SMTP and webhook secrets, two-factor secrets) are encrypted under the vault key. The package handles it like this:

  • It is created on the first installation if the file does not exist, with mode 0600 and owned by the service user.
  • It is never overwritten, rewritten or removed by an upgrade, a reinstall or apt remove. If a key exists, the package only puts its owner and mode right, in case you restored it as root.
  • The package refuses to configure if /var/lib/probeward, its vault directory or the key is a symbolic link, if the key is not a regular file, or if a key it would have to put right has a second hard link. Code running as the service user could plant any of these to make the installer change a file of its choosing as root. The message names the path; inspect it, put it right, and run sudo dpkg --configure -a. To keep the state on another disk, bind-mount it rather than linking it.
  • Back it up now, apart from your database backups. Without it, a database backup holds credentials nobody can read: backup and restore.
  • To restore onto a new host, install the package, stop the service, put the old key at /var/lib/probeward/vault/vault.key (owner probeward, mode 0600), restore the database, and start it. A key that does not belong to the database makes the service refuse to start and say so.
  • Purging the package (apt purge probeward, dpkg --purge probeward) removes the configuration, the remote probe's state and user (without asking: see below), and asks, on the terminal, whether to delete the key too. The default answer is no. Without a terminal (a script, an unattended purge) the key is kept unless the variable PROBEWARD_PURGE_VAULT_KEY=yes is set for the command. A kept key also keeps /var/lib/probeward and the probeward user, which owns it; the message says how to remove them by hand. Deleting the key does not touch the database, which is not part of the package.

Ping sensors ​

The ping sensor uses unprivileged ICMP sockets, which Linux allows only for group ids inside net.ipv4.ping_group_range; the kernel's default (1 0) allows nobody. The package installs /usr/lib/sysctl.d/60-probeward.conf with 0 2147483647 and applies it. Debian 13 sets the same range by default already; Ubuntu 24.04 does not, so there the file is what makes ping work.

The range is host-wide, and the group id of probeward is chosen when the package is installed, so the file cannot name just that one group. If you want a narrower range, copy the file to /etc/sysctl.d/60-probeward.conf, use the id from getent group probeward, and know that every other unprivileged user on the host loses ping unless their group is in it too. In a container or a virtual server that does not allow sysctl, set it on the host. Check it with cat /proc/sys/net/ipv4/ping_group_range.

Administrator tasks ​

sh
printf '%s\n' 'a new long passphrase' | sudo probeward-admin reset-password alice
sudo probeward-admin rollup

probeward-admin reads the environment file as root and then runs probeward admin ... as the service user with exactly those settings, so it works although only root can read that file.

Upgrade and uninstall ​

Upgrading is apt install ./probeward_<new>_amd64.deb, after a backup; see upgrade.

sh
sudo apt remove probeward     # removes the program; keeps /etc/probeward, the vault key and the user
sudo apt purge probeward      # also removes the configuration, and asks about the key

Neither touches the database. To get rid of the data too, drop it on the PostgreSQL side (sudo -u postgres dropdb probeward).

Remote probe from the package ​

The same package runs a remote probe, on a host that has no database and no web interface of its own to use. Its unit is installed switched off. On the core, turn the probe listener on (PROBEWARD_PROBE_LISTEN in the core's environment file, see probes) and create the probe in Settings, Probes to get a pairing token. Then, on the probe host:

sh
sudo apt install ./probeward_<version>_amd64.deb
sudoedit /etc/probeward/probeward-probe.env     # PROBEWARD_PROBE_CORE_URL and PROBEWARD_PROBE_PAIRING_TOKEN
sudo systemctl enable --now probeward-probe

Do not start probeward.service there: that is the core. The package also creates the core's vault key and user on such a host, and says so; on a probe-only host they are harmless and unused. A probe installed this way cannot update itself, so upgrade the probe hosts with the package when you upgrade the core. Its paths, its user and the differences from the standalone unit are in probes.

Troubleshooting the deb installation ​

systemctl status probeward says it failed. Read the journal: journalctl -u probeward -n 50.

  • configuration error: PROBEWARD_DATABASE_URL is required: the line in the environment file is still commented out.
  • cannot open the database: the URL is wrong, the database is down, or pg_hba.conf does not let the role in. Test with psql using the same URL.
  • cannot open the credential vault: ... does not match this database: the key file is not the one that belongs to this database, for example after a restore. Put the right key in place; see the vault key.
  • vault key file ... is readable by group or others: sudo chmod 600 it, and make sure the service user owns it. Reinstalling the package puts owner and mode right.

The service does not start after installing. By design: it is enabled and started only once the environment file names a database. Set it and run sudo systemctl enable --now probeward.

Ping sensors fail with cannot open an ICMP socket. See Ping sensors.

A different port. Set PROBEWARD_LISTEN in the environment file and change the proxy to match.

Settings I changed in the unit file were lost. Do not edit /usr/lib/systemd/system/probeward.service; use sudo systemctl edit probeward, which keeps your changes in /etc/systemd/system/probeward.service.d/.

Other problems, such as clocks, two-factor codes and a forgotten password, are the same as for Compose and are covered in Troubleshooting above (for the password, use probeward-admin).

AGPL-3.0-only