Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output #2

Open
devsango opened this issue Aug 31, 2019 · 1 comment
Open

No output #2

devsango opened this issue Aug 31, 2019 · 1 comment

Comments

@devsango
Copy link

Wasn't able to get any output from installing this plugin into the collectd config . Any help on where i might have gone wrong?

@kwilczek
Copy link
Owner

kwilczek commented Jun 9, 2020

Sorry, I missed this issue at the time of writing. Could you be more specific? Did you enable exec plugin and added the path to the script in the config file? If this is too late (probably is, sorry again), please let me know so I can close the issue.

I also tested the installation on Debian testing (bullseye) with GTX 1660.
Depending on the needs one can try --no-install-recommends.

apt-get install --no-install-recommends collectd

Then, I uncommented exec plugin and added the path to collectd_cuda.sh.
I also just ran the script, which returned the correct values:

PUTVAL myhost/cuda-00000000:01:00.0/memory-memory_used interval=10 N:340
PUTVAL myhost/cuda-00000000:01:00.0/memory-memory_free interval=10 N:5595
PUTVAL myhost/cuda-00000000:01:00.0/absolute-pstate interval=10 N:8
PUTVAL myhost/cuda-00000000:01:00.0/percent-utilization_gpu interval=10 N:0
PUTVAL myhost/cuda-00000000:01:00.0/percent-utilization_memory interval=10 N:0
PUTVAL myhost/cuda-00000000:01:00.0/temperature-temperature_gpu interval=10 N:30
PUTVAL myhost/cuda-00000000:01:00.0/percent-fan_speed interval=10 N:38
PUTVAL myhost/cuda-00000000:01:00.0/power-power_draw interval=10 N:9.33

To test the graphs I cloned collectd-web (it is a bit old, but enough for testing purposes). One should also install some Perl modules (for RRD and JSON). I ran ./runserver.py and got good graphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants