[smokeping-users] Issue with smokeping
Štěpán Kukla, Quanti s.r.o.
stepan.kukla at quanti.cz
Fri Jul 17 13:25:18 CEST 2020
Hi,
its doesnt looks like permission error, but here is my configuration and logs:
thanks for help :)
start command on slave:
/usr/sbin/smokeping --master-url=https://my_super_url/smokeping/smokeping.cgi --cache-dir=/var/smokeping/ --slave-name=xxxxx --shared-secret=/etc/smokeping/smokeping_secrets --debug
secrets permitions:
master:
-rw-r----- smokeping:www-data smokeping_secrets
slave:
-rw------- smokeping:root slave_secret
master_slave config file:
*** Slaves ***
secrets=/etc/smokeping/smokeping_secrets
+xxxxx
display_name=xxxxx
location=Prague
color=ff0000
+xxxxx1
display_name=xxxxx1
location=Prague
color=00ff11
Master_Targets file:
*** Targets ***
slaves=xxxxx xxxx1
probe = FPing
menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website. \
Here you will learn all about the latency of our network.
+ Local
menu = Local
title = Local Network
#parents = owner:/Test/James location:/
++ LocalMachine
menu = Local Machine
title = This host
host = localhost
#alerts = someloss
+ DNS-servers
menu = DNS servers
title = DNS servers
++ Google_1
host = 8.8.8.8
title = Google DNS 8.8.8.8
++ Google_2
host = 8.8.4.4
title = Google DNS 8.8.4.4
Both of servers running in --debug
Master logs:
doesn't show anything about slave
Slave logs:
Jul 17 11:12:57 xxxxx systemd[1]: Starting Latency Logging and Graphing System...
Jul 17 11:12:58 xxxxx smokeping[11297]: WARNING: Data from xxxxx was signed with 6c80059569d350b20f870c6d20df0164 which does not match our expectation
Jul 17 11:12:58 xxxxx smokeping[11297]: Sent data to Server. Server said WARNING: Data from xxxxx was signed with 6c80059569d350b20f870c6d20df0164 which does not match our expectation
Jul 17 11:12:58 xxxxx smokeping[11297]: 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 ?
Jul 17 11:12:58 xxxxx systemd[1]: smokeping.service: Control process exited, code=exited, status=255/EXCEPTION
Jul 17 11:12:58 xxxxx systemd[1]: smokeping.service: Failed with result 'exit-code'.
______________________________________________________________________________
Štěpán Kukla
Quanti s.r.o.
Thákurova 531/4
160 00 Praha 6 - Dejvice
TEL: +420 777 027 208 \ stepan.kukla at quanti.cz \ [ https://www.quanti.cz/ | www.quanti.cz ]
From: "Gregory Sloop" <gregs at sloop.net>
To: "Štěpán Kukla" <stepan.kukla at quanti.cz>, "Angelo Höngens" <angelo at hongens.nl>
Cc: "smokeping-users" <smokeping-users at lists.oetiker.ch>
Sent: Thursday, 16 July, 2020 16:54:42
Subject: Re: [smokeping-users] Issue with smokeping
Re: [smokeping-users] Issue with smokeping 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 \ stepan.kukla at quanti.cz \ [ https://www.quanti.cz/ | www.quanti.cz ]
From: "Angelo Höngens" <angelo at hongens.nl>
To: "Štěpán Kukla" <stepan.kukla at quanti.cz>
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. < [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] > 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 \ [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] \ [ https://www.quanti.cz/ | www.quanti.cz ]
From: "Štěpán Kukla" < [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] >
To: "Al Morel" < [ mailto:almorel23 at gmail.com | almorel23 at gmail.com ] >
Cc: "smokeping-users" < [ mailto:smokeping-users at lists.oetiker.ch | smokeping-users at lists.oetiker.ch ] >
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 \ [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] \ [ https://www.quanti.cz/ | www.quanti.cz ]
From: "Al Morel" < [ mailto:almorel23 at gmail.com | almorel23 at gmail.com ] >
To: "Štěpán Kukla" < [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] >
Cc: "smokeping-users" < [ mailto:smokeping-users at lists.oetiker.ch | smokeping-users at lists.oetiker.ch ] >
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. < [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] > 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 \ [ mailto:stepan.kukla at quanti.cz | stepan.kukla at quanti.cz ] \ [ https://www.quanti.cz/ | www.quanti.cz ]
_______________________________________________
smokeping-users mailing list
[ mailto:smokeping-users at lists.oetiker.ch | smokeping-users at lists.oetiker.ch ]
[ https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users | https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users ]
_______________________________________________
smokeping-users mailing list
[ mailto:smokeping-users at lists.oetiker.ch | smokeping-users at lists.oetiker.ch ]
[ https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users | https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users ]
_______________________________________________
smokeping-users mailing list
[ mailto:smokeping-users at lists.oetiker.ch | smokeping-users at lists.oetiker.ch ]
[ https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users | https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20200717/b5891b7e/attachment-0001.html>
More information about the smokeping-users
mailing list