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

GPU custom graphs dont work with default installation in CentOS 6 #225

Open
stephensje opened this issue Sep 28, 2016 · 2 comments
Open

Comments

@stephensje
Copy link

I installed the nVidia GPU plugin for several nodes that contain Quadro M4000 cards on CentOS 6. All of the metrics worked fine in ganglia-web except for the 5 that utilize the custom graphs in the files added to graph.d. These files are named gpu_... but since the graphics card is identified as gpu0, I was only able to get these graphs to appear by renaming the files gpu0..., and then going into each file and similarly updating the function name, and then hard-coding the $dIndex variable to 0. I tried to go through the PHP files to understand where the core problem was, but the amount of files & scripting is overwhelming.

@russauld
Copy link

russauld commented Dec 20, 2016

+1 to this. Same problem here.
I spent a couple hours looking in graph.php trying to work backwards from this block of code:

// We must have a 'series' value, or this is all for naught
  if (!array_key_exists('series', $rrdtool_graph) ||
      !strlen($rrdtool_graph['series'])) {
    $rrdtool_graph['series'] =
      'HRULE:1#FFCC33:"Empty RRDtool command. Likely bad graph config"';
  }

Still haven't figured out why it's failing.

@jrstjohn
Copy link

jrstjohn commented Aug 3, 2017

This is quite annoying, but the workaround that stephensje provided does work.

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

3 participants