Closed renarios closed 2 years ago
@renarios What version of Modoboa are you using? This module is now deprecated since it has been merged to the core application. I should archive this repository...
I use it as part of the core application version 20.0. Excuse me for placing the issue in the wrong repository.
In file graphics.py you export to XML and after that you convert to JSON.
I see the comment:
"""Export data to XML using rrdtool and convert it to JSON."""
and you issue the code to export:
after that you convert to JSON
According to the man page you can export in JSON-format directly by using the option '--json':
rrdtool xport --json
That's saves code and resources.
The command to directly export to JSON would be: