Dear Ganglia team,

I am having an issue wherein the graphs on my ganglia 3.6.0 instance are
not rendered.

Everything was working perfectly fine for the past 3 months, no issues
faced with graphs. Last week, there was a DNS hostname change in our IT
infrastructure after which the graphs stopped working.

Please note that I am able to download the CSV for a graph, able to also
"inspect" on the graph -- these work fine. But the image does not show up.

In the /var/log/httpd/error_log file, I can see the following messages
every time a graph is attempted to be rendered.
----
sh: -c: line 0: syntax error near unexpected token `newline'
sh: -c: line 0: `/usr/bin/rrdtool graph -   --start '-86400s' --end now
--width 300 --height 123 --title 'server1.linux.com Load last day'
--vertical-label 'Loads/Procs' --lower-limit 0 --slope-mode
DEF:'a0'='/var/lib/ganglia/rrds/MY_SETUP/
server1.linux.com/load_one.rrd':'sum':AVERAGE
DEF:'a2'='/var/lib/ganglia/rrds/LEO_PERF_SETUP/
server1.linux.com/cpu_num.rrd':'sum':AVERAGE
DEF:'a3'='/var/lib/ganglia/rrds/LEO_PERF_SETUP/
server1.linux.com/proc_run.rrd':'sum':AVERAGE   AREA:'a0'#BBBBBB:'1-min'
VDEF:a0_last=a0,LAST VDEF:a0_min=a0,MINIMUM VDEF:a0_avg=a0,AVERAGE
VDEF:a0_max=a0,MAXIMUM GPRINT:'a0_last':'Now\:%5.1lf%s'
GPRINT:'a0_min':'Min\:%5.1lf%s' GPRINT:'a0_avg':'Avg\:%5.1lf%s'
GPRINT:'a0_max':'Max\:%5.1lf%s\l' LINE2:'a2'#FF0000:'CPUs '
VDEF:a2_last=a2,LAST VDEF:a2_min=a2,MINIMUM VDEF:a2_avg=a2,AVERAGE
VDEF:a2_max=a2,MAXIMUM GPRINT:'a2_last':'Now\:%5.1lf%s'
GPRINT:'a2_min':'Min\:%5.1lf%s' GPRINT:'a2_avg':'Avg\:%5.1lf%s'
GPRINT:'a2_max':'Max\:%5.1lf%s\l' LINE2:'a3'#2030F4:'Procs'
VDEF:a3_last=a3,LAST VDEF:a3_min=a3,MINIMUM VDEF:a3_avg=a3,AVERAGE
VDEF:a3_max=a3,MAXIMUM GPRINT:'a3_last':'Now\:%5.1lf%s'
GPRINT:'a3_min':'Min\:%5.1lf%s' GPRINT:'a3_avg':'Avg\:%5.1lf%s'
GPRINT:'a3_max':'Max\:%5.1lf%s\l'  > '
----

Further, I redirected the output of the above rrdtool command to a PNG
file, and the image file opened up fine !!

I even reverted the DNS hostname to the original state, but no luck.

As suggested in another post, I confirmed that the conf_default.php file
ends with "?>" and does not have any succeeding lines.

Here are the version details:
Ganglia Web Frontend version 3.5.12
Ganglia Web Backend *(gmetad)* version 3.6.0
RRDtool version 1.4.8.
OS - RHES 6.3, 64-bit running on a VMware VM.

Any pointers will be of much help.

Please let me know if there is any other info / logs that is required to
troubleshoot.

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

Reply via email to