I believe this is an unrelated issue to stacked.php however still a bug. I have fixed it in master. You can apply the change yourself if you wish or simply update from master

https://github.com/ganglia/ganglia-web/commit/f5bdfca75f9f5d701c8f8e9310f7801cd2e62799

Vladimir

1/19/21 u 4:49 PM, Janet Houser je napisao/la:
Hi Vladimir,

Thank you for the quick response.   I made the changes you suggested on the github.com page and now it seems to be complaining with a new error:

[Tue Jan 19 14:41:45.757662 2021] [:error] [pid 1120] [client xxx.xx.xx.xxx:57004] reports = Array\n(\n    [load_report] => load_one\n    [cpu_report] => 1\n    [mem_report] => 1\n [network_report] => 1\n    [packet_report] => 1\n)\n, referer: http://ganglia.domain.com/ganglia/?m=load_one&r=hour&s=by%20name&hc=4&mc=2
ERROR: Could not make sense out of '0'


I should mention that I've made one change to the conf_default.php file.    To make the smaller graphs more readable, I changed the following line:

FROM -

    $conf['strip_domainname'] = false;

TO

    $conf['strip_domainname'] = true;

I've also changed my clients gmond.conf file to use the line:

  override_hostname = "hostname of system"

I did this because for my larger clusters of systems having the full domain in the dropdown menus was looking messy.

I don't think this affects the stacked graphs, but I wanted to mention the changes.

Thanks for all your help.

Cheers,

janet


On 1/19/21 1:55 PM, Vladimir Vuksan wrote:

Hi Janet,

Can you please try this diff

https://github.com/ganglia/ganglia-web/commit/14e657ac8e63012309b25307478b562a348175ee

It should correct the issue.

Vladimir

1/19/21 u 1:21 PM, Janet Houser je napisao/la:
Hi Folks,

I just installed a new instance of Ganglia on a CentoOS 7 system and everything appears working except for the Stacked Graph.   The http logs shows the following
error:


[Tue Jan 19 11:15:42.176638 2021] [:error] [pid 8305] [client xxx.xx.xx.xxx:52348] reports = Array\n(\n    [load_report] => load_one\n    [cpu_report] => 1\n    [mem_report] => 1\n    [network_report] => 1\n    [packet_report] => 1\n)\n, referer: http://ganglia.domain.com/ganglia/?r=custom&cs=01%2F19%2F2021+00%3A00&ce=01%2F19%2F2021+23%3A00&c=Servers&h=&tab=m&vn=&tz=&hide-hf=false&m=load_one&sh=1&z=small&hc=4&host_regex=&max_graphs=0&s=by+name
*ERROR: start time: unparsable time: &'-3600s'

*
I think the error is in the /usr/share/ganglia/stacked.php file but I'm not sure.

Has anyone run into this issue and is there a fix?   My old instance had the stacked graph and it was very useful.

Cheers,



_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

--
J.L. Houser
Senior Systems Administrator
National Solar Observatory
3665 Discovery Drive
Boulder, CO 80303
Office Phone:  (303) 7357357

"Never give me root access....."

IT Motto:   "Do or do not, there is no try"
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to