>>> On 7/16/2007 at 11:57 AM, in message
<[EMAIL PROTECTED]>, "Bernard Li"
<[EMAIL PROTECTED]> wrote:
> Hi Brad:
> 
> I don't have this file in CentOS 4.4 either.  Looks like it is only
> available in newer kernels.
> 
> Have a look at this bugzilla bug:
> 
> http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=114 
> 
> Shouldn't we check for the presence of this file before we slurpfile()
> it?  Or should we modify slurpfile() to be more accommodating?
> 

Slurpfile is probably doing the right thing by reporting that the file doesn't 
exist when it goes to read it (however it should probably state which file it 
can't read).  In this case metric_init() should probably stat() the file before 
it calls slurpfile() and then assign the default value if stat() fails.

Brad


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to