On Sun, May 07, 2006 at 11:28:46PM +0300, Alex Balk wrote: > Hi all, > > I've done some work extending my patch for custom graphs and it now > includes the following features: > ...
Alex, this looks awesome. I can't tell you the number of times I wanted something like this. Thank you! Now for the rest... it doesn't work for me. ;) The patch applied just fine, but I get php errors in my error_log and the image that appears is broken (i.e. broken image symbol from the browser, not an image that is somehow not correct). The errors are as follows: when i click on 'custom graph'... [client 192.168.25.9] PHP Notice: Use of undefined constant referer_url - assumed 'referer_url' in /var/www/html/ganglia/custom_graph_interface.php on line 109, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Use of undefined constant sec - assumed 'sec' in /var/www/html/ganglia/custom_graph_interface.php on line 476, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined variable: time_range in /var/www/html/ganglia/custom_graph_interface.php on line 477, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: in /var/www/html/ganglia/custom_graph_interface.php on line 477, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 508, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 541, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 581, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 611, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 631, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 651, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 675, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined variable: option_1_selected in /var/www/html/ganglia/custom_graph_interface.php on line 682, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 712, referer: http://localhost:8080/ganglia/? [client 192.168.25.9] PHP Notice: Undefined index: interface_mode in /var/www/html/ganglia/custom_graph_interface.php on line 755, referer: http://localhost:8080/ganglia/? when i have filled out the values and want to create the graph (in basic mode): [client 192.168.25.9] PHP Notice: Undefined variable: opt_cmdline in /var/www/html/ganglia/custom_graph_rendering.php on line 138, referer: http://localhost:8080/ganglia/custom_graph_processing.php [client 192.168.25.9] PHP Notice: Undefined variable: metrics_cmdline in /var/www/html/ganglia/custom_graph_rendering.php on line 182, referer: http://localhost:8080/ganglia/custom_graph_processing.php [client 192.168.25.9] PHP Notice: Undefined variable: legend_header in /var/www/html/ganglia/custom_graph_rendering.php on line 261, referer: http://localhost:8080/ganglia/custom_graph_processing.php ERROR: unknown function 'VDEF' There are also lots of errors as I'm filling out the form, but i figure those might be less important. Am I missing a required dependency? ganglia works fine in this installation. Thanks, -ben -- Ben Hartshorne email: [EMAIL PROTECTED] http://ben.hartshorne.net
signature.asc
Description: Digital signature

