[smokeping-users] Slave/Master Again
tobi at oetiker.ch
Thu Oct 11 02:46:49 CEST 2007
the slave_cache is where the smokeping.cgi stores the incomming
data for pickup by the smokeping daemon ... make sure the cgi runs
with permissions that allow it to write to the data directory ...
Yesterday Jeff Terrell wrote:
> 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?
> -Jeff T.
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the smokeping-users