This is a project I started to create when I had an intermittent issue with my FttC.
At this time it records DPU Port Status (Up/Down line sync speed), and collects Speed Test from Aussies speed test server.
Create a volume for your database to live on:
docker volume create abbdata
Start the docker container:
docker run --name aussiebbmgt -v abbdata:/data -p 5000:5000 gergnz/aussiebbmgt
To debug the collector or flask, add -eFLASK_ENV=development
to the docker command.
Note: the container uses uwsgi by default.
This project uses abb-speedtest-cli by @lukealford and aussiebb by @mikalstill.
It is developed using jquery, bootstrap, chartjs and flask.
There are some old versions of development code and examples using matplot to draw graphs in utils and archive directories.
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
flask run
./dpuportstatuspopulate.py; ./speedtestpopulate.py
./rundpuportstatus.py
Project: https://github.com/lukealford/abb-speedtest-cli
docker run --rm -e TZ=Australia/Sydney abb-speedtest
git clone [email protected]:lukealford/abb-speedtest-cli.git
cd abb-speedtest-cli
docker build --tag=abb-speedtest .
cd ..
docker build -t gergnz/aussiebbmgt .
docker push gergnz/aussiebbmgt