Post
Topic
Board Project Development
Re: LinuxCoin A lightweight Debian based OS with everything ready to go.
by
deti
on 11/09/2011, 09:58:06 UTC
Hi drgr33n,

when I activate your munin-phoenix plugin I get this (and more errors) in the munin-node.log:

Code:
...
2011/09/10-15:30:03 [12241] Error output from phoenix_accept:
2011/09/10-15:30:03 [12241] No protocol specified
2011/09/10-15:30:03 [12241] Traceback (most recent call last):
2011/09/10-15:30:03 [12241]   File "/etc/munin/getatinumber.py", line 5, in
2011/09/10-15:30:03 [12241]     devices = p.get_devices(device_type=cl.device_type.GPU)
2011/09/10-15:30:03 [12241] pyopencl.RuntimeError: clGetDeviceIDs failed: device not found
...
2011/09/10-15:30:03 [12241] Error output from phoenix_stats:
2011/09/10-15:30:03 [12241] No protocol specified
2011/09/10-15:30:03 [12241] Traceback (most recent call last):
2011/09/10-15:30:03 [12241]   File "/etc/munin/getatinumber.py", line 5, in
2011/09/10-15:30:03 [12241]     devices = p.get_devices(device_type=cl.device_type.GPU)
2011/09/10-15:30:03 [12241] pyopencl.RuntimeError: clGetDeviceIDs failed: device not found
...

If I execute "python /etc/munin/getatinumber.py" over SSH I get the same error until I do:

Code:
sudo su
chmod uog+rw /dev/ati/card*
xauth merge /home/user/.Xauthority
export DISPLAY=:0

after this I get the correct answer executing "python /etc/munin/getatinumber.py". Do you have a suggestion on how to solve this problem with the munin plugin?