[mrtg] TrafGrapher - interactive multiple MRTG data in one graph

Ján ONDREJ ondrejj at salstar.sk
Tue Apr 28 12:46:17 CEST 2015

But this was not an idea of TrafGrapher. TrafGrapher do not require anything
on server side, if there is MRTG running. No need to convert data
periodically. It downloads plain MRTG files and process them client side (in

With multiple switches number of interfaces is growing and my stats server
is most write intensive server. I don't see any problems with MRTG log
files, specially with log files used by trafgrapher SNMP client.

But for someone, who has no limitations on server it is possible to use
rrdtool xport, as you write. Just need to add another data processor
for TrafGrapher.


On Tue, Apr 28, 2015 at 12:41:34PM +0200, Matija Grabnar wrote:
> Just a suggestion: the latest versions of rrdtool have a command xport,
> which can
> export the contents of RRD (after all the processing you can request for rrd
> graph) as JSON.
> And Json should be easy to process in javascript. So all you would need
> would be a CGI script on the master host that called rrd xport with the
> correct parameters and you could add RRD support to your graphing tool.
> On 04/28/2015 12:34 PM, Ján ONDREJ wrote:
> >On Tue, Apr 28, 2015 at 11:29:34AM +0100, Niall O'Reilly wrote:
> >>On Tue, 28 Apr 2015 05:39:52 +0100,
> >>Ján ONDREJ (SAL) wrote:
> >>>Dear MRTG users,
> >>>
> >>>   I am pleased to announce a new open source project named TrafGrapher. This
> >>>is an pure html/javascript/css application, which can display multiple MRTG
> >>>data in one graph, compare them, filter, etc...
> >>   Cool, but
> >>
> >>>    - reuse MRTG log files
> >>   [...]
> >>>    - less intensive disk writes for .log files
> >>   What about RRD?
> >I like simple MRTG files. RRD files are too complex and hard to process
> >them in javascript.
> >
> >There is also an get.py script, which can collect SNMP v2c only (yet) data
> >and store it in MRTG like log files. They are a bit updated to mostly write
> >only new data and do not override whole file each time (will be overwritten
> >once per day). This get.py is still beta quality, other scripts are stable.
> >
> >TrafGrapher can be configured to use multiple sources, you can write your
> >own data source. :-)
> >
> >							SAL
> >
> >_______________________________________________
> >mrtg mailing list
> >mrtg at lists.oetiker.ch
> >https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

More information about the mrtg mailing list