[smokeping-users] Slave/Master Again
Jeff Terrell
jsterrel at unc.edu
Wed Oct 10 22:05:28 CEST 2007
On Oct 10, 2007, at 2:49 PM, Jeff Terrell wrote:
> So, it would seem that there is a disconnect somewhere. As far as I
> can tell, the slaves are doing everything they should, but for some
> reason their data is not being added into the RR databases.
It occurred to me to check the httpd server logs. Indeed, there was
a relevant entry in the error_log, which I've pasted below. (I've
obfuscated the IP addresses and hostnames.)
[Wed Oct 10 15:59:41 2007] [error] [client 127.0.0.10] [Wed Oct 10
15:59:41 2007] smokeping.cgi [client 127.0.0.10]: Could not update /
tmp/smokeping-ms/data//Artoo.slave_cache: Permission denied at /usr/
local/smokeping-2.2.4/lib/Smokeping/Master.pm line 126.
Here are the contents of my /tmp/smokeping-ms/data directory:
-rw-r--r-- 1 root root 2986808 Oct 10 15:54 Artoo~threepio.rrd
-rw-r--r-- 1 root root 2986808 Oct 10 15:59 Artoo.rrd
-rw-r--r-- 1 root root 2986808 Oct 10 15:54 Threepio~artoo.rrd
-rw-r--r-- 1 root root 2986808 Oct 10 15:59 Threepio.rrd
drwxr-xr-x 2 root root 4096 Oct 10 15:59 __sortercache/
drwxr-xr-x 2 root root 4096 Oct 2 15:44 Test/
Note that there is no /tmp/smokeping-ms/data//Artoo.slave_cache
file. That would explain why smokeping can't open it. :-) Should
there be such a .slave_cache file? What is going wrong here?
Thanks,
-Jeff T.
More information about the smokeping-users
mailing list