[smokeping-users] Re: Cannot get DYNAMIC target? (was: curl for a dyndns host doesn't work)
Marc Haber
mh+smokeping-users at zugschlus.de
Tue Aug 23 12:22:59 MEST 2005
On Tue, Aug 23, 2005 at 01:04:55PM +0300, Niko Tyni wrote:
> On Tue, Aug 23, 2005 at 10:50:40AM +0200, Marc Haber wrote:
> > Where does smokeping store the IP address of the dyndns host which is
> > probably contained in the POST request coming in from the remote cron
> > job? I suspect that the web server is not allowed to write to that
> > place on my system.
>
> It's in the file <datadir>/<host>.adr, ie. the same place as the RRD
> files. The lifetime of the address is calculated from the last
> modification time of the file.
This supports my suspect, thanks.
On my system, the directories are smokeping:www-data 755, and the rrd
files are smokeping:www-data 644. However, this doesn't explain why
the web server is able to write the rrd file. How does the web server
gain access to the rrd files? Does it escalate privileges to smokeping
by some funky way?
I have made the directory with the rrd files writeable for www-data
(smokeping:www-data 755), but still no *.adr file shows up in the
directory. What might be going wrong here?
Where does smokeping log errors in updating the .adr file, such as
"access denied"?
Greetings
Marc
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list