bc382b1c35903540d5460777e5d020435cbd02af
DocRudi
Doc -ker Rudi -mentäres Monitoring
DocRudi is a flask-app that uses plotly (https://plotly.com/) to display graphs of CPU-Utilization and Memory-Use of Docker-Containers by getting this metrics from netdata (https://www.netdata.cloud).
build
to build container from source:
- clone repository
- change
NETDATA_HOST: http://my-netdata-ip:19999in docker-compose-build.yml - run
sudo docker compose -f docker-compose-build.yml build
run
via docker run ..
docker run -e NETDATA_HOST=http://url-of-your-netdata:19999 -p 19998:19998 gitea.tebarius.duckdns.org/tebarius/doc_rudi:latest
via docker compose ...
compose-file: (!!! change NETDATA_HOST to your Netdata-Address)
services:
doc_rudi:
image: gitea.tebarius.duckdns.org/tebarius/doc_rudi:latest
container_name: doc_rudi
restart: unless-stopped
ports:
- "19998:19998"
environment:
NETDATA_HOST: http://my-netdata-ip:19999 # default: http://localhost:19999
#NETDATA_QUERY_SECONDS: 200000 # default: 200000 (last how many seconds to get from netdata)
#NETDATA_QUERY_POINTS: 3000 # default: 3000 (how many points in a row for the query)
#SITE_REFRESH: 0 # default: 0 (seconds to refresh the dashboard-website, 0 = no refresh)
#SERVER_PORT: 19998 # default: 19998 (internal Port of Server)
Environment-Variables
- NETDATA_HOST: http://my-netdata-ip:19999 - default: http://localhost:19999
- NETDATA_QUERY_SECONDS: 200000 - default: 200000 (last how many seconds to get from netdata)
- NETDATA_QUERY_POINTS: 3000 - default: 3000 (how many points in a row for the query)
- SITE_REFRESH: 0 - default: 0 (seconds to refresh the dashboard-website, 0 = no refresh)
- SERVER_PORT: 19998 - default: 19998 (internal Port of Server)
Languages
Python
82.5%
Dockerfile
9.7%
HTML
7.8%
