<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">I can confirm that the slave RRDs are being updated. My current settings are for 20 pings every 30 seconds, and the process has been running for more than an hour...but still blank graphs.<BR><BR>>>> Peter Kristolaitis <alter3d@alter3d.ca> 1/7/2009 3:36 PM >>><BR>Are the slave RRD files getting updated? Check the last-modified<BR>timestamp.<BR><BR>Note that there seems to be a significant 'lag' when using slaves -- the<BR>slave RRD files don't seem to get updated until the next cycle on the<BR>master, so you have to run it for at least 2 cycles to see changes happen.<BR><BR><BR><BR>Seth Lyons wrote:<BR>> Thanks for your response. I set the permission accordingly, but I still<BR>> have the same problem. The .rrds and slave_cache files are being<BR>> created, but the graphs are still blank. I ran a debug on the slave and<BR>> everything went fine...it ended with "Sent data to Server. Server said<BR>> OK," and the pings showed the latency I was expecting.<BR>> <BR>> If I dump one of the .rrd files to xml and view it in an editor, it is<BR>> has a small amount of real data at the beginning, but it is mostly full<BR>> of NaNs.<BR>> <BR>>>>> Peter Kristolaitis <alter3d@alter3d.ca> 1/7/2009 2:25 PM >>><BR>> The directory that holds your RRD files must be readable/writeable by<BR>> both the Smokeping process AND the webserver.<BR>> <BR>> e.g. If<BR>> - Your httpd runs as 'www'<BR>> - Smokeping runs as 'smokeping'<BR>> - In the Smokeping config, datadir = /var/www/smokeping/rrd<BR>> <BR>> Then,<BR>> - Create a new group called 'smokeping'<BR>> - Add both the 'www' and 'smokeping' users to that group<BR>> - chgrp smokeping /var/www/smokeping/rrd<BR>> - chmod -R 775 /var/www/smokeping/rrd<BR>> <BR>> That should clear it up.<BR>> <BR>> If that doesn't work, run one of your slaves with --debug and see if it<BR>> spits back an error of any kind.<BR>> <BR>> <BR>> <BR>> Seth Lyons wrote:<BR>>> Greetings!<BR>>> <BR>>> I am attempting to run a distributed smokeping setup in FreeBSD. I<BR>>> haven't been able to find in the docs information on what the<BR>>> appropriate file permissions (and ownership) should be for the .rrd and<BR>>> cache directories (/usr/local/var/smokeping).<BR>>> <BR>>> The problem I'm having is that the graphs of my slaves are blank. At<BR>>> first I was unable to write cache files to the above directory (and<BR>>> subdirectories), so I temporarily changed the perms to 777 just to see<BR>>> if that would fix the problem. Now the all of the files are being<BR>>> written, but the graphs are still blank.<BR>>> <BR>>> Please advise.<BR>>> <BR>>> Thanks.<BR>>> <BR>>> System info:<BR>>> FreeBSD 7.0<BR>>> smokeping-2.4.2<BR>>> rrdtool-1.3.3<BR>>><BR></BODY></HTML>