dr. matroid (cool name)-

the fix would be to simply tell the web frontend where to find your 
round-robin databases (since they are in a non-standard place).

all configuration options live in the "./config.php" file.  open it.. and 
edit the line

$rrds = "$gmetad_root/rrds";

to read

$rrds = "/home/m254/rrdtool";

and you should be set.

good luck!
-matt

Yesterday, Dr. Matroid wrote forth saying...

> From: Dr. Matroid <[EMAIL PROTECTED]>
> To: Bernard Li <[EMAIL PROTECTED]>, ganglia-general@lists.sourceforge.net
> Date: Mon, 05 Apr 2004 20:53:47 -0700 (PDT)
> Subject: RE: [Ganglia-general] Ganglia graphs not showing
> 
> As Mr. Spock would say, "fascinating." Behold, the contents of 
> /etc/gmetad.conf at the crucial end:
>  
> # Where gmetad stores its round-robin databases
> # default: "/var/lib/ganglia/rrds"
> # rrd_rootdir "/some/other/place"
> rrd_rootdir "/home/m254/rrdtool"
> 
> And indeed, /home/m254/rrdtool has what it is supposed to have.
> [EMAIL PROTECTED] etc]#  ls /home/m254/rrdtool/
> monad cluster  __SummaryInfo__
> [EMAIL PROTECTED] etc]#
>  
> However, as noted before,
>  
> /var/lib/ganglia/rrds had nothing in it. When the empty directory
>  
> /var/lib/ganglia/rrds was replaced with a symbolic link to the new 
> rrd_rootdir,
> the graphs returned!!
>  
> [EMAIL PROTECTED] ganglia]# pwd
> /var/lib/ganglia
> [EMAIL PROTECTED] ganglia]# ls -latrs
> total 3
>    1 drwxr-xr-x    2 nobody   nobody       1024 Feb  2 15:35 rrds.nowitsalink
>    1 drwxr-xr-x   23 root     root         1024 Mar  2 17:18 ..
>    0 lrwxrwxrwx    1 root     root           19 Apr  5 23:43 rrds -> 
> /home/m254/rrdtool/
>    1 drwxr-xr-x    3 root     root         1024 Apr  5 23:43 .
> [EMAIL PROTECTED] ganglia]#
> 
> So, the configuration file is not being heeded, or else, if the 
> /var/lib/ganglia/rrds directory
> is present, the new location is ignored. 
>  
> We are using: [EMAIL PROTECTED] ganglia]# uname -r
> 2.4.20-6smp
> [EMAIL PROTECTED] ganglia]#
> 
> And, rpm reports that the relevant packages are:
>  
> ganglia-monitor-core-gmetad-2.5.6-1
> ganglia-monitor-core-gmond-2.5.5-1
> 
> Have I erred?
> 
>  
>  
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway - Enter today


Reply via email to