Appearance
Install SmokePing via Docker Compose
Deploy SmokePing using Docker and configure your first latency probe.
Installation
- Create Docker Compose File
sh
mkdir /opt/smokeping && cd /opt/smokeping
nano docker-compose.ymlPaste the following configuration:
yaml
version: "3"
services:
smokeping:
image: lscr.io/linuxserver/smokeping:latest
container_name: smokeping
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ./config:/config
- ./data:/data
ports:
- 8080:80
restart: unless-stoppedSave with CTRL + X / Y / Enter
- Pull Images and Start the Container
sh
docker compose pull
docker compose up -dYou can now access SmokePing via http://your-server-ip:8080
Create Your First Probe
- Open the Targets configuration
sh
cd /opt/smokeping
sudo nano config/Targets- Add a new section at the end of the file to monitor Google's DNS
yaml
+ WebServices
menu = Web Services
title = Latency Check for Web Services
++ GoogleDNS
menu = Google DNS
title = Google Public DNS (8.8.8.8)
host = 8.8.8.8Save with CTRL + X / Y / Enter
- Restart the container to apply changes
sh
docker restart smokepingUseful Commands
View real-time logs
sh
docker logs -f smokepingRestart SmokePing
sh
docker restart smokepingStop SmokePing
sh
docker stop smokepingStart SmokePing
sh
docker start smokeping