Hi Jochen,
I agree with your assessment, I think most everything is working except for the
graphs. I am using rrdtool as the graph engine, here are the settings from my
php.conf file:
$conf['gweb_root'] =
"/opt/freeware/apache2/htdocs/ganglia";$conf['gweb_confdir'] =
"/var/lib/ganglia-web";$conf['gmetad_root'] =
"/var/lib/ganglia";$conf['rrdtool'] = "/usr/bin/rrdtool";$conf['rrds'] =
"${conf['gmetad_root']}/rrds";
> ls -l /usr/bin/rrdtoollrwxrwxrwx 1 root system 30 Aug 1
10:31 /usr/bin/rrdtool -> ../../opt/freeware/bin/rrdtool > ls -l
/opt/freeware/bin/rrdtool-rwxr-xr-x 1 root system 24931 Jan 24
2019 /opt/freeware/bin/rrdtool
> ls -ltr /var/lib/ganglia-webtotal 16drwxr-xr-x 2 apache apache
256 Jan 31 2019 filtersdrwxr-xr-x 4 apache apache 256 Aug 7
10:03 dwoo-rw-r--r-- 1 apache apache 84 Aug 8 09:32
default.jsondrwxr-xr-x 3 apache apache 4096 Aug 9 07:43 conf
> ls -ltr /var/lib/ganglia/rrds/total 8drwxr-xr-x 2 nobody nobody
4096 Aug 1 13:32 __SummaryInfo__drwxr-xr-x 5 nobody nobody 256
Aug 1 13:34 serenitydrwxr-xr-x 5 nobody nobody 256 Aug 1 13:55
mtgng
>From conf_default.php:
# Leave this alone if rrdtool is installed in $conf['gmetad_root'],# otherwise,
change it if it is installed elsewhere (like /usr/bin)$conf['rrdtool'] =
"/usr/bin/rrdtool";
# Render graphs with rrdtool's --slope-mode option$conf['rrdtool_slope_mode'] =
true;
# If rrdcached is being used, this argument must specify the# socket to use.##
ganglia-web only requires, and should use, the low-privilege socket# created
with the -L option to rrdcached. gmetad requires, and must use,# the fully
privileged socket created with the -l option to
rrdcached.$conf['rrdcached_socket'] = ""; ######rrcached is installed, but I
was going to leave configuration of this for later.
# Location for modular-graph files.$conf['graphdir']= $conf['gweb_root'] .
'/graph.d';
> ls -l /opt/freeware/apache2/htdocs/ganglia/graph.dtotal 168-rw-r--r-- 1
> apache apache 578 Jan 31 2019 apache_report.json-rw-r--r-- 1
> apache apache 186 Jan 31 2019
> apache_response_report.json-rw-r--r-- 1 apache apache 426 Jan
> 31 2019 cpu_report.json-rw-r--r-- 1 apache apache 9065 Jan 31
> 2019 cpu_report.php-rw-r--r-- 1 apache apache 3310 Jan 31 2019
> cpu_used_report.php-rw-r--r-- 1 apache apache 476 Jan 31 2019
> load_all_report.json-rw-r--r-- 1 apache apache 590 Jan 31 2019
> load_report.json-rw-r--r-- 1 apache apache 680 Jan 31 2019
> mem_report.json-rw-r--r-- 1 apache apache 8324 Jan 31 2019
> mem_report.php-rw-r--r-- 1 apache apache 4973 Jan 31 2019
> metric.php-rw-r--r-- 1 apache apache 355 Jan 31 2019
> network_report.json-rw-r--r-- 1 apache apache 1616 Jan 31 2019
> nfs_v3_client_report.json-rw-r--r-- 1 apache apache 358 Jan 31
> 2019 packet_report.json-rw-r--r-- 1 apache apache 6392 Jan 31
> 2019 sample_report.php-rw-r--r-- 1 apache apache 3543 Jan 31
> 2019 varnish_report.php
# Display statistical values on RRD graphs; i.e.: average, min,
max$conf['graphreport_stats'] = true;$conf['graphreport_stat_items'] =
array("now", "min", "avg", "max");
Output from cli with debug=3:root@someserver:/root > php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[1]
14025196[2] 7668108[3] 27656560[4] 9109872[5] 9699838[6]
23724514[7] 24510788[8] 19661276[9] 7471498[10]
23855546root@someserver:/root > Could not open input file:
http://someserver.somedomain.com/ganglia/graph.php?r=hour
[10] + Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[9]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[8]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[7]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[6]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[5]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[4]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[3]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[2]
+ Done php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3[1]
+ Done(1) php
http://someserver.somedomain.com/ganglia/graph.php?r=hour&z=xlarge&c=mtgng&h=someserver.somedomain.com&jr=&js=&v=2.27&m=load_fifteen&vl=+&ti=Fifteen+Minute+Load+Average&debug=3
On Monday, August 12, 2019, 09:27:11 PM PDT, Hein, Jochen
<[email protected]> wrote:
Hello Erik,
please move back to the mailing list - others might also help.
Am 2019-08-12 16:54, schrieb Erik Ochoa:
> This is the primary page:
> Then in Choose a source Drop Down > mtgng:
> Then click first "broken image"
> Then click Inspect > week:
> Then click broken image next to week:
These all look pretty broken
> Here is a host overview:
But that's a usefull hint - we have data. So, your clients
send data to gmetad and the webfrontend can display it.
So "just" the generation of graphs is broken.
Which graph_engine do you use?
# Graph Engine to use
$conf['graph_engine'] = "rrdtool";
Do you have rrdtool installed and where? On Linux the
default config is:
# Leave this alone if rrdtool is installed in $conf['gmetad_root'],
# otherwise, change it if it is installed elsewhere (like /usr/bin)
$conf['rrdtool'] = "/usr/bin/rrdtool";
You can add &debug=3 to the graph.php call and it will
display the rrdtool command it calls. Try that in a shell
and see what it says.
https://ganglia.examle.org/ganglia/graph.php?r=hour&z=xlarge&c=unspecified&m=load_one&s=by+name&mc=2&g=load_report&debug=3
Sometimes we also have messages in the apache log, but probably
not this time.
Jochen
--
The only problem with troubleshooting is that the trouble shoots back.
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general