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

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Apr 16 15:38:02 CEST 2008


* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:

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

tcpdump on the master says:
.ZCQ.$..POST /smokeping/index.cgi HTTP/1.1
Connection: close
Host: dns-cbf.charite.de
User-Agent: smokeping-slave/1.0
Content-Length: 358
Content-Type: multipart/form-data; boundary=xYzZY

--xYzZY
Content-Disposition: form-data; name="slave"

rispacs-perf
--xYzZY
Content-Disposition: form-data; name="key"

3982224a70205852c1db552a0bcbad66
--xYzZY
Content-Disposition: form-data; name="protocol"

2
--xYzZY
Content-Disposition: form-data; name="data"


--xYzZY
Content-Disposition: form-data; name="config_time"

0
--xYzZY--

15:37:17.504703 IP dns-cbf.charite.de.www >
rispacs-perf.charite.de.46675: . ack 547 win 216 <nop,nop,timestamp
4062484108 307905361>
E..46r at .@.f..*..
0...P.S....zit......t.....
.$...ZCQ
15:37:17.517356 IP dns-cbf.charite.de.www >
rispacs-perf.charite.de.46675: P 1:232(231) ack 547 win 216
<nop,nop,timestamp 4062484121 307905361>
E...6s at .@.e..*..
0...P.S....zit............
.$...ZCQHTTP/1.1 200 OK
Date: Wed, 16 Apr 2008 13:37:17 GMT
Server: Apache/2.2.8 (Debian) PHP/5.2.5-3 with Suhosin-Patch
Content-Length: 48
Connection: close
Content-Type: text/plain

WARNING: No secret found for slave rispacs-perf


-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt at charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to snickebo at charite.de



More information about the smokeping-users mailing list