On Wed, Jan 30, 2008 at 02:11:57PM -0500, David Wong wrote:
nice setup, but be sure gmetad is down when touching the rrd.
<SNIP>
> Can someone tell me what I'm doing wrong here? Do you have a better
> suggestion?
little rough and untested but hopefully will help..
<SNIP>
> system("rrdtool restore $newxmlfile $newrrdfile");
>
> system("cp -p $oldrrdfile $oldrrdfile.org");
> system("cp -p $newrrdfile $oldrrdfile");
system("chmod `stat -c'%a' $oldrrdfile` $newrrdfile");
system("chown `stat -c'%U:%G' $oldrrdfile` $newrrdfile");
Carlo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general