This server measures message loss on the logos.dev Logos Delivery network. Volunteers run lossmon-client, which publishes and receives probe messages and reports them here.
Keeps running after you close the SSH session and comes back after a reboot. Needs Docker with Compose v2 on linux/amd64.
Replace <location> with one of: af as eu na oc sa.
git clone --depth 1 --branch v0.3.0 https://github.com/logos-messaging/logos-delivery-loss-monitor
cd logos-delivery-loss-monitor/deploy/client
cp .env.example .env
Edit .env and set these lines. The token is from the admin.
LOSSMON_SERVER_URL=https://dev.lossmon.mywire.org
LOSSMON_LOCATION=<location>
LOSSMON_TOKEN=<token>
LOSSMON_PRESET=logos.dev
Then start it:
docker compose up -d --build
docker compose logs -f client
Ctrl-C stops following the logs, not the client. To change a setting, edit .env and run docker compose up -d. To change the token, run docker compose down -v first, because the client ID is bound to its token. More commands are in the client README.
Linux amd64, macOS amd64 and arm64. Installs to ~/.local/bin without sudo.
curl -fsSL https://github.com/logos-messaging/logos-delivery-loss-monitor/releases/download/v0.3.0/install.sh | LOSSMON_VERSION=0.3.0 sh
To read the script before running it:
curl -fsSLO https://github.com/logos-messaging/logos-delivery-loss-monitor/releases/download/v0.3.0/install.sh
less install.sh
LOSSMON_VERSION=0.3.0 sh install.sh
For a manual install with checksums, see the client README.
Get the token from the admin. Then save it:
mkdir -p ~/.config/lossmon && (umask 077; cat > ~/.config/lossmon/token)
Paste the token, press Enter, then Ctrl-D.
Replace <location> with one of: af as eu na oc sa.
"$HOME/.local/bin/lossmon-client" \
--server-url=https://dev.lossmon.mywire.org \
--token-file="$HOME/.config/lossmon/token" \
--data-dir="$HOME/.local/share/lossmon" \
--preset=logos.dev \
--location=<location>
Stop with Ctrl-C. Restarting is safe: the client ID is kept in the data directory.