Providing a full output of the two configurations would probably be helpful. It 
may be as simple as a typo.

Another possibility: IIRC, the parent will refuse to use the secrets file if 
the permissions are set too expansively.
Finally, is the parent/child actually able to access the secrets file - are 
permissions too narrow.

Running both parent/child servers with --debug is often fairly helpful, since 
it gives you a lot of detail.

HTH

-Greg



Hi,
hostname is match for one case I usint --slave-name and it's same everywhere

______________________________________________________________________________


Štěpán Kukla
Quanti s.r.o.
Thákurova 531/4
160 00 Praha 6 - Dejvice

TEL: +420 777 027 208 \ [email protected] \ www.quanti.cz


From: "Angelo Höngens" <[email protected]>
To: "Štěpán Kukla" <[email protected]>
Sent: Thursday, 16 July, 2020 16:09:21
Subject: Re: [smokeping-users] Issue with smokeping

And how do your slave configuration look in your master config file? Does the 
hostname match?

--
met vriendelijke groet,

Angelo Höngens

(sent from my mobile)


On Jul 16, 2020, at 09:56, Štěpán Kukla, Quanti s.r.o. <[email protected]> 
wrote:


Hello everyone,
from now I have problem only with message below, weird is the 
"6c80059569d350b20f870c6d20df0164" is same on deny server I don't know what I 
can do. please help.

Sent data to Server. Server said WARNING: Data from hostname was signed with 
6c80059569d350b20f870c6d20df0164 which does not match our expectation
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 ?
thanks, everyone :)
______________________________________________________________________________


Štěpán Kukla
Quanti s.r.o.
Thákurova 531/4
160 00 Praha 6 - Dejvice

TEL: +420 777 027 208 \ [email protected] \ www.quanti.cz


From: "Štěpán Kukla" <[email protected]>
To: "Al Morel" <[email protected]>
Cc: "smokeping-users" <[email protected]>
Sent: Wednesday, 15 July, 2020 12:50:27
Subject: Re: [smokeping-users] Issue with smokeping

Hi,
yes I have on master - hostname:pass and on slave - only pass

______________________________________________________________________________


Štěpán Kukla
Quanti s.r.o.
Thákurova 531/4
160 00 Praha 6 - Dejvice

TEL: +420 777 027 208 \ [email protected] \ www.quanti.cz


From: "Al Morel" <[email protected]>
To: "Štěpán Kukla" <[email protected]>
Cc: "smokeping-users" <[email protected]>
Sent: Tuesday, 14 July, 2020 17:09:48
Subject: Re: [smokeping-users] Issue with smokeping

Make sure in slave secrets file you just have password she not master name and 
password

On Tue, Jul 14, 2020, 8:48 AM Štěpán Kukla, Quanti s.r.o. 
<[email protected]> wrote:

Hello,

I want ask for help with smokeping slave setup,

Slave exit on startup with this  (start command /usr/sbin/smokeping 
--master-url=(master-url) --cache-dir=/var/lib/smokeping 
--slave-name=(hostname) --shared-secret=/etc/smokeping/smokeping_secrets 
--pid-dir=/run/smokeping --debug )

message:

Sent data to Server. Server said WARNING: Data from hostname was signed with 
6c80059569d350b20f870c6d20df0164 which does not match our expectation
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 ?

If I start slave without --slave-name parameter, in master log I will see: 
[client some_IP:36780] mod_fcgid: stderr: [Tue Jul 14 14:15:04 2020] 
smokeping.cgi [client some_IP]: Use of uninitialized value $secret in string eq 
at /usr/share/perl5/Smokeping/Master.pm line 236.

Thanks for any help,
Štěpán Kukla

______________________________________________________________________________


Štěpán Kukla
Quanti s.r.o.
Thákurova 531/4
160 00 Praha 6 - Dejvice

TEL: +420 777 027 208 \ [email protected] \ www.quanti.cz
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to