Compare commits
No commits in common. "main" and "work" have entirely different histories.
@ -1,5 +1,6 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
#
|
#
|
||||||
|
COPY ookla_speedtest_cli.list /
|
||||||
RUN apt update && apt install curl -y
|
RUN apt update && apt install curl -y
|
||||||
RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash
|
RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash
|
||||||
RUN apt install python3 python3-pip iputils-ping speedtest -y
|
RUN apt install python3 python3-pip iputils-ping speedtest -y
|
||||||
|
@ -33,4 +33,4 @@ while(True):
|
|||||||
maxlatency=respjson['ping']['high']
|
maxlatency=respjson['ping']['high']
|
||||||
result = addinfluxrecord(downspeed,upspeed,pktloss,jitter,latencyavg,minlatency,maxlatency)
|
result = addinfluxrecord(downspeed,upspeed,pktloss,jitter,latencyavg,minlatency,maxlatency)
|
||||||
print(result)
|
print(result)
|
||||||
time.sleep(300)
|
time.sleep(300)
|
||||||
|
5
ookla_speedtest_cli.list
Normal file
5
ookla_speedtest_cli.list
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file was generated by packagecloud.io for #
|
||||||
|
# the repository at https://packagecloud.io/ookla/speedtest-cli
|
||||||
|
|
||||||
|
deb [signed-by=/etc/apt/keyrings/ookla_speedtest-cli-archive-keyring.gpg] https://packagecloud.io/ookla/speedtest-cli/debian/ bookworm main
|
||||||
|
deb-src [signed-by=/etc/apt/keyrings/ookla_speedtest-cli-archive-keyring.gpg] https://packagecloud.io/ookla/speedtest-cli/debian/ bookworm main
|
Loading…
x
Reference in New Issue
Block a user