Library to gather Sugar usage statistics. The gathering method is based on sniffing DBus and X11 events.
More (0.86+) Sugar version might be added on demand.
Standalone server might be launched using
sugar-stats-server command from project sources. The easiest way is using binary package sugar-stats-server. The package contains:
For stats transfering from clients, it is useful to use secure SSL connection. Server configuration needs to be tweaked (the client should use the same certificate):
stats-keyfile, path to server's private key,
stats-certificate, path to server's certificate file.
Server will authenticate clients using SSH keys generated on client side by Sugar Shell. To let server check client signatures, OpenSSH-5.6+ should be installed on server side. For less than 5.6 versions, authentication needs to be disabled using
Getting the code
- RRDtool python binding.
For using, library does not require any building routines, just provide full path to the
active_document/ subdirectory via
PYTHONPATH environment variable.
See examples/ subdirectory in the sources tree for usage examples.
- sugar-client application that uses sugar-stats library.