2025-02-09 21:25:08 +01:00
2024-11-24 20:36:11 +01:00
2024-11-24 16:11:02 +01:00
2024-11-24 19:41:38 +01:00
2024-11-24 20:36:11 +01:00
2024-11-24 10:59:28 +01:00
2024-11-24 20:36:11 +01:00
2024-11-24 20:36:11 +01:00

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).

Screenshot.png

build

to build container from source:

  1. clone repository
  2. change NETDATA_HOST: http://my-netdata-ip:19999 in docker-compose-build.yml
  3. 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)
Description
No description provided
Readme GPL-3.0 327 KiB
Languages
Python 82.5%
Dockerfile 9.7%
HTML 7.8%