[smokeping-users] Troubles getting slave activated

G.W. Haywood ged at jubileegroup.co.uk
Fri Jan 23 11:37:54 CET 2009


Hi there,

On Thu, 22 Jan 2009, Will Lawton wrote:

> I'm trying to setup some webhosts to act as slaves with a master
> server. Webservers are generally cookie cutter stamp outs so I would
> like to install as little as possible.
> ...
> I've placed the secret into R/O file in /var/smokeping/<file>.txt.
> ...tried to run /usr/share/smokeping/bin/smokeping -master-url=[...]
> --cachedir-/var/smokeping -shared-secret=/var/smokeping/<file>.txt
> ...
> Can anyone please offer up some assistance on how to get this working?

A Smokeping slave doesn't need root privileges, so for my slaves
I just unpack Smokeping somewhere under the home directory of a
non-privileged user and run it as that user.

You don't need to put the cache and PID files in the system areas,
You can use

--cache-dir=/home/directory/smokeping/ \
--shared-secret=/home/directory/smokeping/smokeping_id

You could do the same with RRD and anything else needed and add the
appropriate path(s) to @INC etc. but I wouldn't personally do that;
if the slaves are Webservers they've probably got a lot of dubious
Perl stuff installed anyway. :)

--

73,
Ged.



More information about the smokeping-users mailing list