[smokeping-users] slave problem- no data on master

Dmitry Melekhov dm at belkam.com
Thu Mar 17 08:10:47 CET 2011


Hello!

I run smokeping 2.3.6 for a long time.
But yesterday I decided to test master-slave configuration, so I'm 
newbie ;-)

I added to config:

*** Slaves ***
secrets=/etc/smokeping/slavesecrets.conf

+dm
display_name=dm
location=P100
color=ff0000

...

#and at the end of targets:

++ DM-localhost

menu = DM-localhost
title = DM-localhost Connectivity
probe= FPing
slaves = dm

+++ DM-localhost
menu = DM-localhost
title = RTTMon ping from DM to  127.0.0.1
host =  127.0.0.1
alertee = dm at jabber.belkam.com


Than I start slave:

smokeping 
--master-url=http://mandela.p98.belkam.com/cgi-bin/smokeping.cgi              
--cache-dir=/var/smokeping/              
--shared-secret=/var/smokeping/secret.txt  --nodaemon --debug-daemon

...
FPing: probing 1 targets with step 300 s and offset 133 s.
FPing: Sleeping 95 seconds.
FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -b1500 -i10 127.0.0.1
FPing: Got fping output: '127.0.0.1 : 0.05 0.03 0.03 0.03 0.03 0.03 0.03 
0.03 0.03 0.03 0.03 0.03 0.04 0.04 0.03 0.03 0.03 0.03 0.03 0.03'
Sent data to Server. Server said OK

but there is no changes to rrd file and , thus, no graph for slave is 
created .

btw, I have yet another problem- master has some remote (over ssh) 
targets and I have to connect to this server on slave too during slave 
startup, although there are no such targets for slave, is it possible to 
solve this too?



More information about the smokeping-users mailing list