Giter Site home page Giter Site logo

Comments (8)

ToniRos avatar ToniRos commented on July 24, 2024 1

@tonioo Finally the stats are shown.
I forced the recompilation of modoboa_stats/graphics.py deleting the pyc, and they start to work like a charm.

Thanks.

from modoboa-stats.

tonioo avatar tonioo commented on July 24, 2024

@ToniRos Can you check than rrdtool (the binary) is installed on your server?

from modoboa-stats.

ToniRos avatar ToniRos commented on July 24, 2024

rpm -qa|grep rrdtool

rrdtool-devel-1.4.8-9.el7.x86_64
uwsgi-plugin-rrdtool-2.0.15-1.el7.x86_64
rrdtool-1.4.8-9.el7.x86_64
rrdtool-python-1.4.8-9.el7.x86_64

rrdtool

RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker [email protected]
Compiled Nov 20 2015 19:23:48

Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport, flushcached

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages

from modoboa-stats.

ToniRos avatar ToniRos commented on July 24, 2024

Executed on the server.

from modoboa-stats.

ToniRos avatar ToniRos commented on July 24, 2024

OK, the correction of javascript solves the TypeError: e is undefined.

Thanks.

from modoboa-stats.

ToniRos avatar ToniRos commented on July 24, 2024

@tonioo , finally I found mentions....
I'm new to git. Sorry. The result of executing "rpm -qa|grep rrdtool", and "rrdtool" are above.

from modoboa-stats.

tonioo avatar tonioo commented on July 24, 2024

@ToniRos you should not store rrd files in /tmp since they will be deleted after each reboot. Have you declared domains in Modoboa and do they receive traffic on this server?

from modoboa-stats.

ToniRos avatar ToniRos commented on July 24, 2024

@tonioo
Destination changed to other path, but the server only purges tmp files older than a week.
The server receive traffic and I check one rrd of one domain with:
rrdtool dump file.rrd. Check data:
...
0003
60
1510936440
...
0.0000000000e+002.0833333333e-030.0000000000e+000.0000000000e+000.0000000000e+000.0000000000e+000.00
00000000e+002.9064583333e+01
0.0000000000e+002.0833333333e-030.0000000000e+000.0000000000e+000.0000000000e+000.0000000000e+000.00
00000000e+005.4325000000e+01
...

Thanks.

from modoboa-stats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.