[smokeping-users] Slave Data Not Populating RRD / Graph
ivan.brightly at massavp.com
Thu Jan 17 15:14:04 CET 2013
Indeed, after checking permissions it was a problem with the smokeping/data
directory. Once set properly, the mastername.slavename.slave_cache file was
generated and the graph started populating. Thanks for the help.
*From:* ITheodoridis at bankofgreece.gr [mailto:ITheodoridis at bankofgreece.gr]
*Sent:* Thursday, January 17, 2013 8:21 AM
*To:* ivan.brightly at massavp.com; smokeping-users at lists.oetiker.ch
*Subject:* RE: [smokeping-users] Slave Data Not Populating RRD / Graph
Last time I have had the same thing (about two weeks ago), it turned out to
be the ownership/access rights in either the data or the cache dir in the
master (check those dirs in the apache root dir hierarchy). The apache user
needs to be able to write to those dirs and files.
What I did is give ownership to the apache user and write access only to
the owner, group and others only read access.
It’s apparently a common issue I didn’t believe I missed it when it
happened to me, as it wasn’t my fist master-slave setup.
If you need more help, or that didn’t solve the issue let us know.
*From:* Ivan Brightly
[mailto:ivan.brightly at massavp.com<ivan.brightly at massavp.com>]
*Sent:* Friday, January 11, 2013 3:40 AM
*To:* smokeping-users at lists.oetiker.ch
*Subject:* [smokeping-users] Slave Data Not Populating RRD / Graph
I’ve successfully setup a master / slave setup but I’m having a problem
where the data doesn’t get written to the slave graphs. Running debug on
both master and slave, data is definitely being sent but I don’t see
anything in the logs on the master server.
Jan 10 20:28:23 smoke01 smokeping: FPing: Executing
/usr/local/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.3.6
Jan 10 20:28:42 smoke01 smokeping: FPing: Got fping output:
'192.168.3.6 : 0.25 0.24 0.24 0.32 0.21 0.27 0.26 0.26 0.27 0.25 0.26 0.19
0.26 0.51 0.27 0.25 0.30 0.25 0.27 0.26'
Jan 10 20:28:42 smoke01 smokeping: Sent data to Server. Server said OK
Jan 10 20:28:42 smoke01 smokeping: FPing: Sleeping 161 seconds.
Any guesses as to what I’m doing wrong? Clearly the master and slave are
communicating since it’s pulling the config properly and the ping data is
definitely populating on the slave side.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smokeping-users