Comments (8)
@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.
@ToniRos Can you check than rrdtool (the binary) is installed on your server?
from modoboa-stats.
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.
Executed on the server.
from modoboa-stats.
OK, the correction of javascript solves the TypeError: e is undefined.
Thanks.
from modoboa-stats.
@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.
@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.
@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)
- UnicodeEncodeError while parsing logs HOT 1
- german umlauts in domains breaks logparser HOT 5
- logparser fails to create RRD directory HOT 6
- journald HOT 4
- Stats graph not showing received mail HOT 1
- rrdtool.OperationalError: new_accounts.rrd: illegal attempt to update using time (minimum one second step) HOT 3
- Statstistics graph show 2 times in page HOT 3
- Statistic graph stay in French unless we switch to English
- Problem displaying stats HOT 19
- Time entered in 12 hr should be 24 hr
- Average size graphic broken with Python3
- parser is ignoring all lines
- Remove spam/virus info from statistics graph if not used
- Whishlist: have a refresh on /stats/#graphs/?gset=mailtraffic
- Graph suddenly stopped HOT 19
- Legend block is printed on the graphics
- FutureWarning: Possible nested set at position 29 with Python 3.7
- Wrong langage error message in /stats/
- invalid date HOT 6
- export to JSON directly in graphics.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modoboa-stats.