GithubHelp home page GithubHelp logo

ragesaq / gamergraf Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 1.0 67 KB

slick grafana, graphite and collectd based docker container for CPU/GPU performance logging and visualization

Shell 20.21% Batchfile 31.50% Dockerfile 48.29%

gamergraf's People

Contributors

ragesaq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

veteran29

gamergraf's Issues

Autodetect the number of threads in the CPU usage panel

Hello,

First of all, I'd like to thank you a lot for your work, it works flawlessly on my computer after following your detailed installation guide. You sir definitely deserve more stars :).

Now, I'd like to suggest a small improvement for the CPU usage panel. By default, it has fixed number of 4 CPU threads, meaning that you have to edit the panel if you don't have that exact number on your machine as you say in your readme (which is my case).

To fix that, you could simply replace the 4 similar queries by a single one :
aliasSub(collectd.$Computer.curl_xml-afterburner.gauge-CPU[0-9]*_usage, '.*CPU(\d+)_usage', 'CPU #\1 usage')

With this single query, it now displays correctly with any number of threads as shown here :
cpu

It is not working

chmod: cannot access '/var/lib/grafana/grafana.db': No such file or directory
ERROR: Service 'grafana' failed to build: The command '/bin/sh -c chmod 0644 /var/lib/grafana/grafana.db' returned a non-zero code: 1
docker container should be up, checking status

please help me

unable to build?

bringing up docker container
Creating network "gamergraf-master_default" with the default driver
Building graphite
Step 1/15 : FROM ragesaq/base
 ---> 9af88e9b17dc
Step 2/15 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 83e567ed2a2c
Step 3/15 : RUN     apt-get update -y &&     apt-get install -y --no-install-recommends python-minimal supervisor libffi6 libcairo2 collectd curl libcurl3 libcurl3-gnutls libxml2 libxml2-utils xml-core &&    apt-get clean &&     rm -rf /var/lib/apt/lists/
 ---> Running in 2dfb54c92e32
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [825 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 6s (1660 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'graphite' failed to build: The command '/bin/sh -c apt-get update -y &&     apt-get install -y --no-install-recommends python-minimal supervisor libffi6 libcairo2 collectd curl libcurl3 libcurl3-gnutls libxml2 libxml2-utils xml-core &&    apt-get clean &&     rm -rf /var/lib/apt/lists/' returned a non-zero code: 100
docker container should be up, checking status```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.