Create a Private Location
| Time | ~15 minutes |
| Level | Advanced |
| Prerequisites | openstatus account, Docker installed (docker --version to verify), at least one monitor (see Create your first monitor) |
In this guide, you'll set up a private location — a monitoring probe running on your own infrastructure. This lets you monitor internal applications, private APIs, and network resources behind your firewall without exposing them to the public internet.
Caution
Private locations are currently in beta.For background on when to use a private location and how the connection works, see Understanding private locations.
Step 1: create a private location
- Navigate to Settings > Private Locations in your openstatus dashboard
- Click Create Private Location
- Give your location a descriptive name (e.g., "Office Network", "AWS us-east-1 VPC")
- Save the configuration
After creation, you'll receive a token. Copy this token — you'll need it in the next step.
Caution
Keep your token secure. It authenticates your probe with the openstatus platform.Step 2: deploy the Docker probe
Run the monitoring probe on your server using Docker:
docker run -d \
--name openstatus-probe \
--restart unless-stopped \
-e OPENSTATUS_KEY=<your-token> \
ghcr.io/openstatushq/private-location:latest
Replace <your-token> with the token from Step 1.
Verify the container is running
docker ps --filter name=openstatus-probe
You should see the container listed with a status of Up:
CONTAINER ID IMAGE STATUS NAMES
abc123 ghcr.io/openstatushq/private-location:latest Up 2 minutes openstatus-probe
Step 3: assign monitors to your private location
- Go to Settings > Private Locations and select your location
- Choose which monitors should run from this private location
- Alternatively, edit an individual monitor and select your private location in its settings
Checkpoint: Within a couple of minutes, you should see monitoring data appearing in your monitor's overview from your private location.
What you've accomplished
- Created a private location in openstatus
- Deployed a monitoring probe on your own infrastructure
- Assigned monitors to check from your private location
Troubleshooting
Container exits immediately
Check the container logs for errors:
docker logs openstatus-probe
Common causes:
- Invalid token — double-check the token value; ensure no extra spaces or newlines.
- Wrong variable name — the probe reads
OPENSTATUS_KEY.OPENSTATUS_TOKENis ignored, so the probe starts unauthenticated and fetches no monitors. - Network issues — ensure the container can reach
openstatus-private-location.fly.devon port 443.
No data appearing in the dashboard
- Verify the container is running:
docker ps --filter name=openstatus-probe - Check that you've assigned at least one monitor to the private location
- Wait for the probe to pick up the change. It fetches its monitor list on startup and then every 10 minutes, so a monitor assigned after the probe started can take that long to appear. Restart the container to apply it immediately.
Container can't reach internal services
If the probe needs to reach services on your host machine, use Docker's host networking:
docker run -d \
--name openstatus-probe \
--restart unless-stopped \
--network host \
-e OPENSTATUS_KEY=<your-token> \
ghcr.io/openstatushq/private-location:latest
What's next
- Read our Raspberry Pi deployment guide — deploy probes on low-cost hardware.
- Create a monitor — set up more monitors to run from your private location.