[smokeping-users] Slave data not updated at server side

wimpunk wimpunk+smoke at gmail.com
Thu Mar 4 15:05:53 CET 2010


Hi,

I'm looking at a situation which have been handled before in this list
but the solutions offered doesn't seem to work for me.
As far as I can see, client side works pretty correct.  Running
`/usr/sbin/smokeping --master-url=http://megaton/cgi-bin/smokeping
--cache-dir=/var/cache/smokeping/
--shared-secret=/etc/smokeping/secret.txt --debug --nodaemon` I get
this result:

Sent data to Server and got new config in response.
Smokeping version 2.004002 successfully launched.
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.
FPing: probing 9 targets with step 300 s and offset 79 s.
FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 10.129.88.142
10.129.88.211 10.134.8.4 10.134.10.19 10.134.10.18 10.134.8.34
10.129.88.10 10.134.10.42 10.134.8.10
FPing: Got fping output: '10.129.88.142 : 6.32 5.25 4.88 4.39 4.90
4.77 4.76 4.62 4.63 14.64 4.63 5.29 5.13 5.75 4.87 10.28 4.39 5.90
6.26 4.51'
FPing: Got fping output: '10.129.88.211 : 5.00 4.51 10.16 4.39 4.57
4.63 9.39 15.13 5.15 5.52 5.01 5.02 4.38 16.12 8.15 9.88 8.24 11.04
12.84 11.92'
FPing: Got fping output: '10.134.8.4    : 0.37 0.35 0.35 0.36 0.37
0.36 0.36 0.34 0.36 0.37 0.36 0.36 0.36 0.36 0.35 0.36 0.36 0.36 0.36
0.37'
FPing: Got fping output: '10.134.10.19  : 0.11 0.10 0.11 0.11 0.11
0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11 0.11
0.11'
FPing: Got fping output: '10.134.10.18  : 0.03 0.02 0.02 0.02 0.02
0.02 0.03 0.03 0.02 0.02 0.02 0.02 0.02 0.02 0.02 0.02 0.02 0.02 0.02
0.02'
FPing: Got fping output: '10.134.8.34   : 5.84 0.19 0.19 0.19 0.19
0.19 0.19 0.19 0.19 0.20 0.20 0.20 0.19 0.19 0.19 0.18 0.19 0.19 0.20
0.19'
FPing: Got fping output: '10.129.88.10  : 5.15 5.89 5.92 4.78 5.29
5.03 6.02 5.87 4.76 5.87 5.67 8.91 14.14 28.01 4.88 5.15 8.00 10.00
5.90 5.52'
FPing: Got fping output: '10.134.10.42  : 0.13 0.13 0.11 0.13 0.11
0.11 0.13 0.15 0.13 0.13 0.11 0.13 0.11 0.11 0.11 0.11 0.11 0.11 0.12
0.11'
FPing: Got fping output: '10.134.8.10   : 0.52 5.75 0.90 0.52 0.52
0.51 0.52 0.51 0.51 0.51 0.52 0.54 0.50 0.51 0.52 0.51 0.51 0.49 6.32
4.82'
Sent data to Server. Server said OK

As far as I can tell, this is the result needed.  Unfortunately, the
data doesn't get stored at the server.  Looking at the head of the rrd
file with ` rrdtool dump
/var/lib/smokeping/data/LocalNetwork/router~f1.rrd  | head -10` I get
next result:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd>	<version> 0003 </version>
	<step> 300 </step> <!-- Seconds -->
	<lastupdate> 1267624232 </lastupdate> <!-- 2010-03-03 14:50:32 CET -->

	<ds>
		<name> uptime </name>
		<type> GAUGE </type>
		<minimal_heartbeat> 600 </minimal_heartbeat>

The lastupdate value is the date I configured the slave, it is not the
date I tested the configuration.  I tried to change the rights on the
file to 777 hoping to fix it but it didn't helped.  I even tried to
fix it by changing the ownership to www but it didn't helped me
either.

Does anyone has any suggestion what I missed?

Kind regards,

wimpunk.
-- 
I would love to change the world, but they wont give me the source code.



More information about the smokeping-users mailing list