[smokeping-users] master/slave error
Seth Lyons
slyons at fxcm.com
Wed Jan 7 21:13:24 CET 2009
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 <alter3d at alter3d.ca> 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
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
--
Peter Kristolaitis
DBA / Code Monkey / General Geek
OpenPGP/GPG Key available from pgp.mit.edu
Key Fingerprint: 695D 7616 9903 6002 5756
D234 6E96 34B2 F974 14FE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20090107/f92bebe7/attachment-0001.html
More information about the smokeping-users
mailing list