That's basically what I'm trying to do. I tried to copy the RRDs.pm from the server over to the dir on the slave so that the check would no longer fail. But then I get a whole host of other errors.
I think my main question is that if a slave doesn't need RRD, is there any way to get around having any portion of RRD on the machine? Thanks for the help, -Will -----Original Message----- From: G.W. Haywood [mailto:[email protected]] Sent: Friday, January 23, 2009 2:38 AM To: Will Lawton Cc: [email protected] Subject: Re: [smokeping-users] Troubles getting slave activated 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. _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
