NetProbe
Docker 应用程序 from bmartino1's Repository
概述
Netprobe 2.0 – Internet Quality Dashboard
Netprobe 2.0 is a lightweight, container-friendly network probe and web UI for home/lab internet monitoring.
It periodically:
Pings your gateway, router, and a list of “anchor” sites.
Measures packet loss, latency, and jitter.
Measures DNS lookup latency per DNS server.
Runs scheduled and manual Speedtest.net tests.
Stores everything in SQLite and renders a dark-mode dashboard with Chart.js.
The goal is a simple “drop in and forget it” quality monitor that you can run on Unraid, Proxmox, Docker, etc.
Additional variables can be found here: https://github.com/bmartino1/NetProbe_Python
Optional data:
ALL are OPTIONAL! Defaults/fallbacks to SQLite.
--cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=SYS_ADMIN
Use standalone Postgres for backend storage docker variables...(May be hidden in template)
USE_POSTGRES: ${USE_POSTGRES:-true}
DB_ENGINE: ${DB_ENGINE:-postgres}
POSTGRES_HOST: ${POSTGRES_HOST:-postgres}
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
POSTGRES_DB: ${POSTGRES_DB:-netprobe}
POSTGRES_USER: ${POSTGRES_USER:-netprobe}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-netprobe}
要求
# Optional: if ping needs extra caps in your environment
--cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=SYS_ADMIN
# Use standalone Postgres for backend storage docker variables...
USE_POSTGRES: ${USE_POSTGRES:-true}
DB_ENGINE: ${DB_ENGINE:-postgres}
# Postgres connection details (match the Postgres service above via env file...)
POSTGRES_HOST: ${POSTGRES_HOST:-postgres}
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
POSTGRES_DB: ${POSTGRES_DB:-netprobe}
POSTGRES_USER: ${POSTGRES_USER:-netprobe}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-netprobe}
运行时参数
- 网络用户界面
http://[IP]:[PORT:8080]- 网络
bridge- 外壳
bash- 特权
- false
模板配置
- 目标
- 8080
- 默认值
- 8080
- 价值
- 8080
Container /data location for SQLite file that holds long-term data. Container path can be changed if DB_PATH variable is assigned. DB_PATH defaults to /data/netprobe.sqlite
- 目标
- /data/
- 默认值
- /mnt/user/appdata/netprobe_database
- 价值
- /mnt/user/appdata/netprobe_database
Seconds between script probe runs. (Countdown in web page.) This runs the pings, DNS lookups, and others to collect data...
- 默认值
- 30
- 价值
- 30
ICMP packets per target per probe.
- 默认值
- 20
- 价值
- 4
Time zone, e.g. America/Chicago
- 默认值
- UTC
- 价值
- UTC
Comma-separated ping targets.
- 默认值
- fast.com,google.com,youtube.com
- 价值
- fast.com,google.com,youtube.com
Optional LAN router IP. Your router/gateway IP address to help with pings. Can leave blank (to leave blank, delete this variable).
- 默认值
- 192.168.1.1
- 价值
- 192.168.1.1
Domain for DNS latency tests.
- 默认值
- google.com
- 价值
- google.com
Web UI display name
- 默认值
- My_DNS_Server
- 价值
- My_DNS_Server
DNS IPs to probe. Do you run a custom DNS server? Set this to that IP.
- 默认值
- 192.168.1.1
- 价值
- 192.168.1.1
Enable periodic speed tests at SPEEDTEST_INTERVAL in seconds.
- 默认值
- True
- 价值
- True
14400 seconds = 4 hours. Seconds between automatic speed tests.
- 默认值
- 14400
- 价值
- 14400
Google_DNS
- 默认值
- Google_DNS
- 价值
- Google_DNS
Google_DNS 8.8.8.8
- 默认值
- 8.8.8.8
- 价值
- 8.8.8.8
Quad9_DNS
- 默认值
- Quad9_DNS
- 价值
- Quad9_DNS
Quad9_DNS 9.9.9.9
- 默认值
- 9.9.9.9
- 价值
- 9.9.9.9
CloudFlare_DNS
- 默认值
- CloudFlare_DNS
- 价值
- CloudFlare_DNS
CloudFlare_DNS 1.1.1.1
- 默认值
- 1.1.1.1
- 价值
- 1.1.1.1
Requires DB_ENGINE set to postgres Use a standalone Postgres and set the required Postgres Docker variables manually.
- 默认值
- true
- 价值
- false
Choose database backend. If using Postgres, set USE_POSTGRES to true as well.
- 默认值
- postgres
- 价值
- sqlite
Weight of packet loss in score (0–1, sum = 1).
- 默认值
- -0.6
- 价值
- -0.6
Weight of latency.
- 默认值
- 0.15
- 价值
- 0.15
Weight of jitter.
- 默认值
- 0.2
- 价值
- 0.2
Weight of DNS latency.
- 默认值
- 0.05
- 价值
- 0.05
Loss % considered “max bad” for scoring.
- 默认值
- 5
- 价值
- 5
Latency ms considered “max bad”.
- 默认值
- 100
- 价值
- 100
Jitter ms considered “max bad”.
- 默认值
- 30
- 价值
- 30
DNS ms considered “max bad”.
- 默认值
- 100
- 价值
- 100
This sets the Python web server port. If edited, update Docker NAT ports and WebUI URL.
- 默认值
- 8080
- 价值
- 8080
Fallback container directory for Tailscale state information - Added by Community Applications
- 目标
- CA_TS_FALLBACK_DIR
- 默认值
- /data/
- 价值
- /data/
下载统计数据
详细信息
在Unraid 上运行 NetProbe 。
NetProbe 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。