Install it, get your first alert, and keep it running.
Install
You need a Linux server, like a small VPS, and a domain or subdomain for PingBuddy, like pingbuddy.example.com. No domain yet? That works too, see the end of this part.
Point the domain at the server. Where you manage the domain, add an A record: name pingbuddy, value your server's IP address. That's the address you SSH into, also shown in your host's dashboard.
Install it on the server:
on your server
curl -fsSL https://pingbuddy.snowztech.com/install.sh | DOMAIN=pingbuddy.example.com sh
It runs PingBuddy as a service that starts on boot, and prints a setup code. Other apps already on the server? It notices their proxy and tells you the one line to add to it.
Create your account. Open https://pingbuddy.example.com and enter the setup code. The very first visit takes a few seconds while PingBuddy gets its HTTPS certificate from Let's Encrypt.
Add an alert channel under Settings → Alerts, and press Test.
Watch your sites on Monitors, and add your cron jobs under Jobs.
The setup code keeps anyone who finds your server first from claiming it.
Without a domain, leave DOMAIN= out and open http://your-server:8080. To add a domain later, run the same command again with DOMAIN=. On macOS the script installs the binary only, and tells you how to start it.
The script installs the latest release, checks its checksum, and runs it as its own pingbuddy user. Read it before you run it, if you like.
Other ways to install
Docker Compose
This is also how Coolify and Dokploy run it.
curl -O https://raw.githubusercontent.com/snowztech/pingbuddy/main/compose.yaml
docker compose up -d
Open http://your-server:8080. The setup code is in docker compose logs pingbuddy.
Your own domain: put DOMAIN=pingbuddy.example.com in an .env file next to compose.yaml, and switch its ports to 80:80 and 443:443.
Coolify or Dokploy: set the domain in their dashboard and leave DOMAIN out. They handle HTTPS.
Docker
docker run -d --name pingbuddy -p 8080:8080 -v pingbuddy:/data ghcr.io/snowztech/pingbuddy
The install script does this check for you: when another program holds those ports, it sets PingBuddy up behind it and prints what to add.
Alerts
Set this up first, or nobody hears about an outage. Under Settings → Alerts, add Discord, Slack, email or any webhook, and press Test to see it arrive. Every monitor alerts all channels unless you pick some in its settings.
Your first email channel also asks how PingBuddy should send it: a Resend API key, or any SMTP server. It sends a test email before saving, so a wrong key shows up right away. Change it later in Settings → Email. The same setup sends password reset codes.
A webhook gets a JSON POST for each alert, to wire PingBuddy into anything else.
Monitors
Paste a URL and press Watch. Paste several at once to add them all. PingBuddy checks each one every 5 minutes, or anywhere from every minute to once a day. It says a site is down only after a few failed tries in a row, sends one alert per outage, and another when it's back.
In a monitor's settings you can also ask for a status code and for text the page must contain.
Certificates
For an https:// site it also watches the certificate. You get a warning 14 days before it expires, and again at 3. Certificates that renew themselves, like Let's Encrypt's, renew about a month ahead, so a warning means the renewal is stuck.
Heartbeats
For a cron job or script PingBuddy can't call, flip it around: the job pings PingBuddy each time it works. Under Jobs, choose Add job, then Wait for a ping. Pick the same schedule as the job and how late it may run. PingBuddy gives you a command to add to the end of the job's line:
The && means a failed run doesn't ping. A missed ping alerts every channel, and the next ping tells you it works again.
Scheduled jobs
Under Jobs, choose Add job, then Call a URL. PingBuddy calls it on the schedule you pick, as a GET or a POST with a body and headers like Authorization. It keeps the last 100 runs, and alerts every channel when a run fails.
Status pages
Under Status, make a page and pick the monitors it shows. Visitors see each service's status and 90 days of history, never your URLs or errors. A page lives at /status/<address> on your PingBuddy.
On your own domain
To put a page on its own domain, like status.acme.com, fill in the page's Domain section and save. It then shows you the DNS record to add, and the line for your proxy if you use one. When PingBuddy does HTTPS, the DNS record is all it takes. Check domain tells you what's left, or that it's working.
On that domain, visitors only ever see the status page, never your dashboard.
Badge
Each page has a badge that shows its status live, for a README or a website. The page's README badge section has the Markdown ready to copy.
Updating
Your monitors, history and settings carry over: PingBuddy updates its database on start. Release notes say what changed.
Install script: press Update in Settings. Or run the script again: it keeps your settings in /etc/pingbuddy/pingbuddy.env.
Docker Compose:docker compose pull && docker compose up -d
Docker:docker pull ghcr.io/snowztech/pingbuddy, then remove the container and run the same docker run again. The pingbuddy volume keeps your data.
When a new version is out, Settings says so. To know, PingBuddy asks GitHub once a day. You can turn that off in Settings.
How Update works. PingBuddy runs as its own user and can't replace itself, so the install script adds a small root helper, pingbuddy-update.path, that waits for the dashboard to ask. The dashboard can only ask for the latest release. It can't pick a version or a URL. If the new version doesn't start, the script puts the old one back. Installs from before 0.1.4 get the button after one more update by hand.
Your data
Everything PingBuddy knows is in one SQLite file, pingbuddy.db in DATA_DIR. Settings → Data shows how big it is and how far back it goes.
History is kept for 90 days by default. Pick 7 days to a year in Settings. Older checks and job runs are deleted every hour.
Restore: stop PingBuddy, put the backup in DATA_DIR as pingbuddy.db, and start it again.
Start fresh: Settings → Delete all history wipes every check and job run but keeps your monitors, jobs and channels. A single monitor has Clear history in its menu.
Move it: stop PingBuddy, move the folder, point DATA_DIR at the new place, start it again.
Backups
Settings → Download backup gives you a copy that's safe to take while PingBuddy runs. For a nightly backup, run the same thing from cron:
# Docker
docker exec pingbuddy pingbuddy backup /data/backup-$(date +%F).db
# Binary, with the same DATA_DIR the server uses
DATA_DIR=/var/lib/pingbuddy pingbuddy backup /backups/pingbuddy-$(date +%F).db
Copying the folder by hand works too, but only while PingBuddy is stopped.
Configuration
Everything has a default, so none of these are needed to start. With Compose they go in an .env file next to compose.yaml, see .env.example. With the install script they're in /etc/pingbuddy/pingbuddy.env; restart with sudo systemctl restart pingbuddy after a change.
Variable
Default
What it does
DOMAIN
Your dashboard's domain, when PingBuddy does HTTPS itself on ports 80 and 443. Leave it out behind a proxy.
PORT
8080
Port the dashboard listens on, when DOMAIN isn't set.
DATA_DIR
data, /data in Docker
Where pingbuddy.db lives. Back up this folder.
EMAIL_FROM
Address email alerts and reset codes come from, like alerts@your-domain.com.
RESEND_API_KEY
Send email through Resend. The easiest way to get email working.
SMTP_HOST
Or send through any SMTP server instead.
SMTP_PORT
587
587 for STARTTLS, 465 for TLS.
SMTP_USERNAME, SMTP_PASSWORD
SMTP login.
Email is optional, and easier to set up from the dashboard (Settings → Email). These variables are for setting it up ahead of time. When they're set, they win over the dashboard. Without email, PingBuddy still alerts on Discord, Slack and webhooks, and a password reset code shows up in its log.
If something's off
Start with the log: journalctl -u pingbuddy with the install script, docker logs pingbuddy with Docker, or the logs tab in Coolify and Dokploy. Settings → Logs shows it too, once you can sign in.
The page doesn't open. Check the DNS record points at your server's IP. A new record can take a few minutes. Then check a firewall isn't blocking ports 80 and 443 (8080 without a domain). With ufw: sudo ufw allow 80,443/tcp. Some hosts also have a firewall in their dashboard.
The browser says the connection isn't secure. PingBuddy gets its certificate on the first visit, which needs the DNS record in place and port 80 open. Its log says what went wrong. Fix that first: Let's Encrypt only allows a few failed tries per hour.
Using Cloudflare? Set the record to DNS only (grey cloud). PingBuddy does HTTPS itself, and Cloudflare's proxy can block its certificate.
The domain also has an AAAA record that points somewhere else? Let's Encrypt tries IPv6 first. Remove it, or point it at this server too.
"port 80 is already in use". Another proxy runs on the server. With the install script, run it again: it sets PingBuddy up behind that proxy and says what to add. With Docker, leave DOMAIN out and put PingBuddy behind that proxy.
No alerts arrive. Press Test on the channel in Settings. A failed send also shows in the log.
Lost the setup code. It's in the log. Restarting PingBuddy prints a new one.
Forgot your password. Click Forgot password? on the sign-in page. The reset code goes to your email if email is set up, and always to the log. No access to either? pingbuddy reset-password on the server prints a new password.
Still stuck? Open an issue with the last lines of the log.
Who watches PingBuddy?
If the server running PingBuddy goes down, it can't tell you. Two ways to cover that:
Make a scheduled job that calls a heartbeat service, like healthchecks.io, every minute. When the calls stop, it alerts you.
Point another uptime service at https://pingbuddy.example.com/healthz. It answers ok, or 503 when PingBuddy can't read its database.