Hi Alex,

I'm also interested in a version that works with rrdtool 1.0.
I have also only rrdtool 1.0 running on my system.

Thanks!

Regards,
Martin

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alex Balk
Gesendet: Mittwoch, 10. Mai 2006 08:28
An: Ben Hartshorne
Cc: [email protected]
Betreff: Re: [Ganglia-general] Graph templates (custom graphs)


Ben,


First of all, I apologize for all the errors - that's just lousy coding on my 
part. Once I get around to rewriting the code and integrating it into Ganglia 
I'll be sure to keep it cleaner.


As for your problem, there are 2 dependencies in this code: php-session and 
rrdtool 1.2 (or higher)

I believe your problem is with the latter - a version of rrdtool (probably 1.0 
which ships with SLES9 and RHEL3) that doesn't support VDEF. This isn't a 
critical part of the code as it's just used to display min/avg/max values. If 
there's a need I could post a version which works with rrdtool 1.0 as well.


Cheers,

Alex


Ben Hartshorne wrote:

> 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
>
>
>   


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to