Canadapedrocesarti/internet-speedtest-docker
Internet testing running on Docker Compose.
📊 Giám sát tốc độ internet tự động với Docker Compose
Tự động chạy speedtest định kỳ, lưu trữ dữ liệu thời gian thực và vẽ biểu đồ trên Grafana để có bằng chứng gửi cho nhà cung cấp dịch vụ internet.
Dự án internet-speedtest-docker giúp bạn theo dõi tốc độ kết nối internet một cách liên tục thông qua ba container Docker Compose: InfluxDB để lưu trữ dữ liệu thời gian thực, Grafana để hiển thị biểu đồ, và một container chạy speedtest-cli để thực hiện kiểm tra tốc độ. Dự án ra đời vì nhu cầu giám sát và tạo báo cáo gửi cho ISP khi tốc độ thực tế không đạt như cam kết.
✨ Điểm nổi bật
- Tích hợp 3 công cụ: Docker Compose kết hợp InfluxDB, Grafana và speedtest-cli trong một hệ thống hoàn chỉnh.
- Lưu trữ thời gian thực: InfluxDB ghi nhận từng kết quả test với timestamp, phù hợp truy vấn theo thời gian.
- Biểu đồ trực quan: Grafana hiển thị tốc độ download/upload, ping, jitter qua dashboard tùy chỉnh.
- Tự động hóa: Script chạy speedtest theo khoảng thời gian cấu hình (mặc định 5 giây).
- Cấu hình linh hoạt: Hỗ trợ biến môi trường để tù chỉnh user, password, database, URL Grafana, mật khẩu admin.
- Chọn server test: Hỗ trợ đặt ID server speedtest cụ thể thay vì dùng mặc định.
- Dễ triển khai: Chỉ cần cài Docker Compose và chạy
docker-compose up -d.
💡 Vì sao đáng chú ý
Khác với các công cụ test tốc độ online chỉ dựa trên ICMP, dự án này dùng speedtest-cli thực sự tải lên/xuống dữ liệu từ server, phản ánh chính xác hơn băng thông thực tế. Phù hợp cho doanh nghiệp nhỏ hoặc hộ gia đình muốn có bằng chứng định lượng gửi cho ISP khi tốc độ không đạt như hợp đồng.
#Speedtest #DockerCompose #InfluxDB #Grafana #TiniX
Similar Projects
Discover other similar projects and AI models.
A shell script to check and log when your internet connection goes down. Pull requests are welcome.
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
A Dockerized python Script to fetch Garmin health data and populate that in a InfluxDB Database, for visualization long term health trends with Grafana
Standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana as a frontend
Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations
YABS - a simple bash script to estimate Linux server performance using fio, iperf3, & Geekbench
Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager