[smokeping-users] Smokeping, master-slave, slave targets on master host
Gregory Sloop
gregs at sloop.net
Fri Oct 4 17:03:31 CEST 2013
I've been working on a "usual-screw-ups" FAQ:
I think it applies here:
---
3) Master-slave setups:
B) Why are my graphs empty for the slaves?
As per 1 & 2 above
---
Usually when there's an "empty" graph the problem is one of two things:
1) smokeping can't write the data to the RRD.
2) the web-server can't read it.
If you've really debugged things and you're sure it's successfully writing to the RRD, then you'd want to watch the web-server logs and see if it's really reading them.
---
But master-slave has one additional wrinkle - though the principles are the same.
For *slaves*, smokeping IS NOT *writing* the data to the RRD files - they're getting pushed there by the web-server.
So, in master-slave mode you need to be sure that the user your web-server is running as [apache perhaps] has *WRITE* permissions to the RRD files.
Also, if you simply go mod the permissions and then you add *new* slave targets, those new slave RRD files won't have the right permissions.
So you either have to simply handle that, or tweak things so the new RRD's get created with the appropriate level of permissions.
---
AA> The master is not checks the target which assigned to the slave. But
AA> the graph is still blank, and the slave sends data to the master
AA> successfuly:
AA> FPing: Executing /usr/local/sbin/fping -C 20 -q -B1 -r1 -b1000 -i10 2.2.2.2
AA> FPing: Got fping output: '2.2.2.2 : 6.94 4.08 4.26 4.13 4.61 4.18 4.26
AA> 3.47 5.15 7.07 7.03 3.48 3.90 6.60 4.74 3.42 3.20 6.61 3.72 3.54'
AA> Sent data to Server. Server said OK
AA> 2013/10/4, Andrew Anderson <makeconfig at gmail.com>:
>> Thank you !
>>
More information about the smokeping-users
mailing list