Graphical statistics for Modoboa
Project description
Graphical statistics for Modoboa.
Installation
Install this extension system-wide or inside a virtual environment by running the following command:
$ pip install modoboa-stats
Since this extension relies on the rrdtool package, you may need to install additional libraries in order to compile it. On a Debian system, you will require the following packages:
$ apt-get install librrd-dev
Edit the settings.py file of your modoboa instance and add modoboa_stats inside the MODOBOA_APPS variable like this:
MODOBOA_APPS = ( 'modoboa', 'modoboa.core', 'modoboa.lib', 'modoboa.admin', 'modoboa.relaydomains', 'modoboa.limits', 'modoboa.parameters', # Extensions here # ... 'modoboa_stats', )
Run the following commands to setup the database tables:
$ cd <modoboa_instance_dir> $ python manage.py collectstatic $ python manage.py load_initial_data
Finally, restart the python process running modoboa (uwsgi, gunicorn, apache, whatever).
Additional documentation is available on ReadTheDocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for modoboa_stats-1.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8de74f33324aaeca0b65d7d4f46f9e73799b1b4ed8aa355c124722d4703ad7d |
|
MD5 | b47fce0a9ee8465bb38afa7e0b7487dd |
|
BLAKE2b-256 | 6e2920e6890b48ca49b7c504bacb77374f0222ecb9083987886df8e27b655bbc |