[smokeping-users] Slave/Master Again

Stephen Demailly stephen.demailly at thalesgroup.com
Fri Sep 28 15:26:36 CEST 2007


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.





More information about the smokeping-users mailing list