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

After Auto-Refresh, Cluster Node Graphs Become Blank #362

Open
bkelly1984 opened this issue Aug 19, 2021 · 3 comments
Open

After Auto-Refresh, Cluster Node Graphs Become Blank #362

bkelly1984 opened this issue Aug 19, 2021 · 3 comments

Comments

@bkelly1984
Copy link

bkelly1984 commented Aug 19, 2021

Running Ganglia 3.7.2 on CentOS 8, we discovered that the node graphs in the cluster view section of a ganglia cluster report would go blank after an auto-refresh. On load, the graphs would normally show a CPU or network report like this:

Sample of a working graph

then after an auto-refresh, all graphs would be empty, although high load nodes would still have a colored frame, like this:

Sample of a blank graph after update

Initial investigations suggested that graphs fetched after the update were missing a value for the "g" parameter, which specifies the metric to graph. A lot more troubleshooting found that the cluster_refresh.tpl template was not getting the metric_name variable properly set.

I modified cluster_view.php and moved what is currently line 636, $tpl_data->assign("metric_name", "{$user['metricname']}");, up to above line 608, if (! $refresh) {, so the variable would be set for both refresh and non-refresh cases. This seems to fix the issue.

I am not offering a means to recreate this issue, so I encourage others to speak up if they have a similar problem.

With that, I leave this issue to the Ganglia Gurus to handle as they see fit.

@soon1713
Copy link

soon1713 commented Feb 8, 2022

I've the same issue, running on CentOS 7.9, after upgrade to 3.7.5, all the graph shows "Empty RRDtool command, Likely bad graph config", previously it was fine (older version)

@pkerney
Copy link

pkerney commented Feb 16, 2023

I have the same problem on Centos 7.9.2009 ganglia 3.7.2 right now.
Workaround by @bkelly1984 seems to work.

@Micket
Copy link

Micket commented May 13, 2024

Can also confirm this still happens with 3.7.6 from EPEL 9

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

4 participants