-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Hello,
I just installed netprobe, via the standard compose method.
All is perfectly working except for the netprobe-speedtest :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
27e2e0ef5376 grafana/grafana-enterprise "/run.sh" 12 hours ago Up 12 hours 0.0.0.0:3008->3000/tcp, :::3008->3000/tcp netprobe-grafana
e8704d2f1df6 plaintextpackets/netprobe:latest "/bin/bash ./entrypo…" 12 hours ago Up 12 hours netprobe-probe
f9252c286144 redis:latest "docker-entrypoint.s…" 12 hours ago Up 12 hours 6379/tcp netprobe-redis
ffd2299e81bf prom/prometheus "/bin/prometheus --c…" 12 hours ago Up 12 hours 9090/tcp netprobe-prometheus
27f35a7e9393 plaintextpackets/netprobe:latest "/bin/bash ./entrypo…" 12 hours ago Up 12 hours netprobe-presentation
97e19b45fb66 plaintextpackets/netprobe:latest "/bin/bash ./entrypo…" 12 hours ago Up 12 hours netprobe-speedtest
The only log available :
user@server:~/docker/netprobe_lite$ docker logs netprobe-speedtest
Error running speedtest
Error running speedtest
Error running speedtest
My compose (I only changed retention perdiod) :
# Docker compose file for netprobe
# https://github.com/plaintextpackets/netprobe_lite
name: netprobe
networks:
netprobe-net:
services:
redis:
restart: always
container_name: netprobe-redis
image: "redis:latest"
volumes:
- ./config/redis/redis.conf:/etc/redis/redis.conf
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
netprobe:
restart: always
container_name: netprobe-probe
image: "plaintextpackets/netprobe:latest"
pull_policy: always
volumes:
- .:/netprobe_lite
environment:
MODULE: "NETPROBE"
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
speedtest:
restart: always
container_name: netprobe-speedtest
image: "plaintextpackets/netprobe:latest"
pull_policy: always
volumes:
- .:/netprobe_lite
environment:
MODULE: "SPEEDTEST"
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
presentation:
restart: always
container_name: netprobe-presentation
image: "plaintextpackets/netprobe:latest"
pull_policy: always
volumes:
- .:/netprobe_lite
environment:
MODULE: "PRESENTATION"
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
prometheus:
restart: always
container_name: netprobe-prometheus
image: "prom/prometheus"
volumes:
- ./config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus # Persistent local storage for Prometheus data
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention.time=90d' # Adjust retention to 30 days
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
grafana:
restart: always
image: grafana/grafana-enterprise
container_name: netprobe-grafana
volumes:
- ./config/grafana/datasources/automatic.yml:/etc/grafana/provisioning/datasources/automatic.yml
- ./config/grafana/dashboards/main.yml:/etc/grafana/provisioning/dashboards/main.yml
- ./config/grafana/dashboards/netprobe.json:/var/lib/grafana/dashboards/netprobe.json
- grafana_data:/var/lib/grafana
ports:
- '3008:3000'
networks:
- netprobe-net
dns:
- 8.8.8.8
- 8.8.4.4
volumes:
prometheus_data:
grafana_data:
And the .env, with only private DNS, Speedtest enabled and the interval doubled :
# CUSTOM VARIABLES
# Notes:
# 1. Do not change any variable names
# 2. Read instructions carefully
# Site target list
# - If modifying this list, make sure you limit to 5 websites and use the domain name as shown here
SITES="google.com,facebook.com,twitter.com,youtube.com,amazon.com"
# DNS test site
# - This is the site which is resolved in DNS to test DNS servers, if modified only use one domain name
DNS_TEST_SITE="google.com" # This is the site used in the DNS test
# DNS name servers
# - This is the list of DNS servers which are tested
# - Netprobe only supports 4 DNS servers, you can change the value of "DNS_NAMESERVER_4_IP" to test your own home DNS server
# - Note: do not change the value of "DNS_NAMESERVER_4"
DNS_NAMESERVER_1="Google_DNS"
DNS_NAMESERVER_1_IP="8.8.8.8"
DNS_NAMESERVER_2="Quad9_DNS"
DNS_NAMESERVER_2_IP="9.9.9.9"
DNS_NAMESERVER_3="CloudFlare_DNS"
DNS_NAMESERVER_3_IP="1.1.1.1"
DNS_NAMESERVER_4="My_DNS_Server" # Do not change this line at all!
DNS_NAMESERVER_4_IP="192.168.1.39" # Replace this IP with the DNS server you use at home
# Health Score Weights
# - These are the relative weights used to calculate your 'Internet Quality Score', they can be modified but must add up to 1.0
weight_loss = ".6" # Loss is 60% of score
weight_latency = ".15" # Latency is 15% of score
weight_jitter = ".2" # Jitter is 20% of score
weight_dns_latency = "0.05" # DNS latency is 0.05 of score
# Health Score Thresholds
# - These threshold values are used in the calculation of your 'Internet Quality Score', they can be modified if required
threshold_loss = "5" # 5% loss threshold as max
threshold_latency = "100" # 100ms latency threshold as max
threshold_jitter = "30" # 30ms jitter threshold as max
threshold_dns_latency = "100" # 100ms dns latency threshold as max
# Speetest configuration (be very careful when running on a metered connection!)
# - This configuration is for setting up a "speed test" or rather a test of your internet bandwidth.
# - In order to test your upload and download bandwidth we use speedtest.net as source. So your client will connect there and upload and download some data.
# - That also means that a random server is selected for the test (usually the nearest one)
# - Setting the SPEEDTEST_INTERVAL too agressively will cause speedtest.net to block your requests, recommend 15 minutes (900 seconds) and above
SPEEDTEST_ENABLED="True" # set this to "True" to enable speed test function
SPEEDTEST_INTERVAL="1949" # interval on which the speedtest will run, in seconds - note using a prime number helps reduce the number of collisions between netprobe and speed tests
# SYSTEM VARIABLES - DO NOT TOUCH
PRESENTATION_PORT = "5000"
PRESENTATION_INTERFACE = "0.0.0.0"
REDIS_URL = "netprobe-redis"
REDIS_PORT = "6379"
REDIS_PASSWORD = "password"
PROBE_INTERVAL="30"
PROBE_COUNT="50"
Metadata
Metadata
Assignees
Labels
No labels