[smokeping-users] Master/slave Mode doens't work anymore

Tobias Oetiker tobi at oetiker.ch
Wed Apr 16 15:33:45 CEST 2008


Hi Ralf,

did you

a) upgrade the master too
b) restart the master cgi ?

cheers
tobi

Today Ralf Hildebrandt wrote:

> smokeping                         2.3.5-2
>
> From my master's config:
>
> *** Slaves ***
>
> secrets=/etc/smokeping/slavesecrets.conf
>
> + mailhost
> display_name=mailhost
> location=CVM
> color=b22222
>
> + charcom
> display_name=charcom
> location=CCM
> color=ffff00
>
> + rispacs-perf
> display_name=rispacs-perf
> location=RISPACS
> color=32cd32
>
> yet my slaves ALL (!) report:
>
> # /usr/bin/perl -w /usr/sbin/smokeping --debug
>   --master-url=http://netserv2.charite.de/smokeping/index.cgi
>   --cache-dir=/var/lib/smokeping
>   --shared-secret=/etc/smokeping/slavesecrets.conf
> WARNING: No secret found for slave rispacs-perf
>
> Sent data to Server. Server said WARNING: No secret found for slave rispacs-perf
> ERROR: we did not get config from the master. Maybe we are not
> configured as a slave for any of the targets on the master ?
>
> Hey, of course I defined that. It used to work up to the upgrade
> from 2.3.2-1 --> 2.3.5-2
>
> # cat slavesecrets.conf
> rispacs-perf:top_secret
> mailhost:top_secret
> charcom:top_secret
>
> and on the slave:
> # cat slavesecrets.conf
> top_secret
>
>

-- 
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