[smokeping-users] Slave/Master Again
Tobias Oetiker
tobi at oetiker.ch
Fri Sep 28 16:01:51 CEST 2007
Hi Stephen,
hmm at the moment the master will always poll all the hosts ... you
can only limit the slave to certain hosts ...
on another note, a problem might be that your hostname seems to be
upper-lower case ... this is odd, since normally hostnames are just
lowercase ...
as long as you have no slaves defined in the target sections, the
slave will get no work assigned from the master ...
cheers
tobi
Today Stephen Demailly wrote:
> Hello all,
>
> here is some news about the Master/Slave configuration.
>
> In the first I have solved the MD5 Key problem. It was simple but non
> documented. On the master the file
> (usr/local/smokeping/etc/smokping_secrets) shall contain
> "hostname:choosenkey" and on the slave it shall contain only
> "choosenkey". So you have to omit "hostname:". Of course as mention
> before you have to use the hostname for the slave as return by the
> $hostname command.
> Now slave and master are able to communicate ;-)
> Probleme : I don?t have any data in my *.rrd files for the slave. In my
> case the rrd file has been created in
> ?/usr/local/smokeping/var/xxx.rrd~supHQ? but no update happen from the
> (supHQ) slave.
> Using tcpdump on the slave, I can see communication between slave and
> master not nothing happen.
> In conf file I have :
> ##################### conf #####################
> *** Slaves ***
> secrets=/usr/local/smokeping/etc/smokeping_secrets
> +supHQ
> display_name=Bulle_High
> location=Bulle_High
> color = 0000ff
> *** Targets ***
> slaves = supHQ
> ?
> ##################### conf #####################
> Furthermore if I try to specify slave using the slave directive on a
> host (commented line for now), I have an error when smokeping.cgi runs
> ?ERROR: /usr/local/smokeping/etc/config, line 185: slave1 [slave2]?.
> +++++ Tcis
> menu = Tcis Server
> title = TCIS Server
> #slaves = supHQ
> host = tcis.trt.thales
> url = /tcis/PartSearch.htm
>
> I don?t understand why
> In a more general way I don?t want the master and the slave having the
> same host to poll (for example some host may be common and other not
> accessible from both slave and master). How do I fixe this ?
> At last, a simple question : is it possible to activate a ?regular?
> smokeping on the slave with this server being reporting to a master (ie
> two smokeping instance running on the same server).
> Cheers to all, I love smokeping anyway, thanks Tobi.
>
> Stephen.
>
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
--
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
mailing list