[smokeping-users] Re: Trouble with host = DYNAMIC
Niall O'Reilly
Niall.oReilly at ucd.ie
Sun Jun 26 00:15:08 MEST 2005
On 16 Jun 2005, at 12:00, Niall O'Reilly wrote:
> I'm having trouble getting a probe to work for a DYNAMIC host, and
> would appreciate
> any tips.
I guess I'm on my own with this, so I'll document progress to the list
in the hope
that someone else may find it useful.
In debug mode, I found this:
FPing: probing 8 targets with step 300 s and offset 202 s.
FPing: Executing /usr/local/sbin/fping -C 20 -q -B1 -i10 -r1
followed by a list of only seven targets
The underlying cause turned out to be a file-access issue. I run the
SmokePing
daemon under its own user account, called 'smoke'. This user also owns
all the
data files for SmokePing. The web server runs under a different user
account,
'apache'. The address registration file is maintained by the
smokeping.cgi
script, triggered by the web server.
A first fix was to add the 'apache' user to the 'smoke' group, and to
make the
directories in the data and htdocs group-writeable.
More work is needed to line up suexec and Perl's -T mode to do things
'properly'.
/Niall
--
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