Are the slave RRD files getting updated? Check the last-modified timestamp.
Note that there seems to be a significant 'lag' when using slaves -- the slave RRD files don't seem to get updated until the next cycle on the master, so you have to run it for at least 2 cycles to see changes happen. Seth Lyons wrote: > Thanks for your response. I set the permission accordingly, but I still > have the same problem. The .rrds and slave_cache files are being > created, but the graphs are still blank. I ran a debug on the slave and > everything went fine...it ended with "Sent data to Server. Server said > OK," and the pings showed the latency I was expecting. > > If I dump one of the .rrd files to xml and view it in an editor, it is > has a small amount of real data at the beginning, but it is mostly full > of NaNs. > >>>> Peter Kristolaitis <[email protected]> 1/7/2009 2:25 PM >>> > The directory that holds your RRD files must be readable/writeable by > both the Smokeping process AND the webserver. > > e.g. If > - Your httpd runs as 'www' > - Smokeping runs as 'smokeping' > - In the Smokeping config, datadir = /var/www/smokeping/rrd > > Then, > - Create a new group called 'smokeping' > - Add both the 'www' and 'smokeping' users to that group > - chgrp smokeping /var/www/smokeping/rrd > - chmod -R 775 /var/www/smokeping/rrd > > That should clear it up. > > If that doesn't work, run one of your slaves with --debug and see if it > spits back an error of any kind. > > > > Seth Lyons wrote: >> Greetings! >> >> I am attempting to run a distributed smokeping setup in FreeBSD. I >> haven't been able to find in the docs information on what the >> appropriate file permissions (and ownership) should be for the .rrd and >> cache directories (/usr/local/var/smokeping). >> >> The problem I'm having is that the graphs of my slaves are blank. At >> first I was unable to write cache files to the above directory (and >> subdirectories), so I temporarily changed the perms to 777 just to see >> if that would fix the problem. Now the all of the files are being >> written, but the graphs are still blank. >> >> Please advise. >> >> Thanks. >> >> System info: >> FreeBSD 7.0 >> smokeping-2.4.2 >> rrdtool-1.3.3 >> _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
