Skip to content

Arvedui/modoboa-stats

 
 

Repository files navigation

modoboa-stats

Code Health

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',

  # Extensions here
  # ...
  'modoboa_stats',
)

Run the following commands to setup the database tables:

$ cd <modoboa_instance_dir>
$ python manage.py load_initial_data

Finally, restart the python process running modoboa (uwsgi, gunicorn, apache, whatever).

Additional documentation is available on ReadTheDocs.

About

Graphical statistics for Modoboa

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 54.9%
  • JavaScript 37.2%
  • HTML 6.1%
  • CSS 1.8%