Skip to main content

Graphical statistics for Modoboa

Project description

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modoboa-stats-1.5.0.tar.gz (68.7 kB view details)

Uploaded Source

Built Distribution

modoboa_stats-1.5.0-py2.py3-none-any.whl (110.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file modoboa-stats-1.5.0.tar.gz.

File metadata

  • Download URL: modoboa-stats-1.5.0.tar.gz
  • Upload date:
  • Size: 68.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for modoboa-stats-1.5.0.tar.gz
Algorithm Hash digest
SHA256 c55980d8b4654db4b1a8bb890d82ac3d3a43121e4c667da54e85b8e1d0c649c1
MD5 126e34e72da600feea936de72593dfde
BLAKE2b-256 19708d6e11ac6032c20eb5839d13bd6b4bd2cc0703b6549e7ba5efb52b4d0ea9

See more details on using hashes here.

File details

Details for the file modoboa_stats-1.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: modoboa_stats-1.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 110.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for modoboa_stats-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 254a0e0d88d01c214723371da5fcd07ee02ddfa4966fc49eda3b9b4b72a0e0ca
MD5 6fc630cee2a488d76e32eaaecc03b072
BLAKE2b-256 5c911b44bdec49b3e19f0145607327c1727388d471cc7a3bf03b5efc348678b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page