Blame doc/mrtg-rrd.txt

Packit 667938
MRTG-RRD(1)                          mrtg                          MRTG-RRD(1)
Packit 667938
Packit 667938
Packit 667938
Packit 667938
N?NA?AM?ME?E
Packit 667938
       mrtg-rrd - How to use RRDtool with MRTG
Packit 667938
Packit 667938
S?SY?YN?NO?OP?PS?SI?IS?S
Packit 667938
       After using MRTG for some time you may find some limitations, mostly in
Packit 667938
       the areas of performance and graphing flexibility. These are exactly
Packit 667938
       the areas addressed by RRDtool. To learn more about RRDtool check out
Packit 667938
       its website on
Packit 667938
Packit 667938
        http://oss.oetiker.ch/rrdtool
Packit 667938
Packit 667938
R?RR?RD?DT?TO?OO?OL?L I?IN?NT?TE?EG?GR?RA?AT?TI?IO?ON?N
Packit 667938
       When using mrtg with RRDtool you are replacing _?r_?a_?t_?e_?u_?p with the RRDtool
Packit 667938
       perl module _?R_?R_?D_?s_?._?p_?m. To enable RRDtool support in mrtg you have to add
Packit 667938
       the line
Packit 667938
Packit 667938
        LogFormat: rrdtool
Packit 667938
Packit 667938
       to your mrtg config file.
Packit 667938
Packit 667938
       MRTG needs access to both the RRDtool perl module R?RR?RD?Ds?s.?.p?pm?m and to the
Packit 667938
       r?rr?rd?dt?to?oo?ol?l executable.
Packit 667938
Packit 667938
       If these two items are not installed in locations where perl can find
Packit 667938
       them on its own, then you can use the following two parameters to
Packit 667938
       supply the appropriate directories.
Packit 667938
Packit 667938
       For the location of the r?rr?rd?dt?to?oo?ol?l executable you put
Packit 667938
Packit 667938
        PathAdd: /usr/local/rrdtool/bin/
Packit 667938
Packit 667938
       or
Packit 667938
Packit 667938
        PathAdd: c:\rrdtool\bin
Packit 667938
Packit 667938
       For the location of the perl module it would be:
Packit 667938
Packit 667938
        LibAdd: /usr/local/rrdtool/lib/perl/
Packit 667938
Packit 667938
       or
Packit 667938
Packit 667938
        LibAdd: c:\rrdtool\bin\lib\perl
Packit 667938
Packit 667938
       When you have made this modification to the configuration file, several
Packit 667938
       things will happen when you run mrtg again with the new config file:
Packit 667938
Packit 667938
       1.  mrtg will take all your old ".log" files and c?co?on?nv?ve?er?rt?t them to ".rrd"
Packit 667938
           format. (The ".log" files don't get touched in the process, so if
Packit 667938
           things don't work out they are still there.)
Packit 667938
Packit 667938
       2.  mrtg will use r?rr?rd?dt?to?oo?ol?l to update its databases. These will have a
Packit 667938
           new format called _?r_?r_?d which is totally different than the native
Packit 667938
           _?l_?o_?g format of the classic mrtg.
Packit 667938
Packit 667938
       3.  mrtg will n?no?ot?t create any webpages of graphs anymore.  It will only
Packit 667938
           query the routers for traffic information and update its _?r_?r_?d
Packit 667938
           databases.
Packit 667938
Packit 667938
       The advantage of whole thing is that the mrtg will become m?mu?uc?ch?h faster.
Packit 667938
       Expect the runtime to drop to 20% of the previous value. (I would like
Packit 667938
       to get some feedback on this from folks with large installations.)
Packit 667938
Packit 667938
       Mind you, though, while the logging process of RRDtool is v?ve?er?ry?y fast,
Packit 667938
       you are also gaining some time by neither creating graphs nor updating
Packit 667938
       webpages.  The idea behind this is that it is more efficient to create
Packit 667938
       graphs and webpages on demand by using a cgi script.
Packit 667938
Packit 667938
       At the moment there is no o?of?ff?fi?ic?ci?ia?al?l script to do this, but two
Packit 667938
       contributers have created such scripts:
Packit 667938
Packit 667938
       One4All aka 14all.cgi
Packit 667938
           This was the first program to take over the webpage creation and
Packit 667938
           graphing task.  It has been developed by Rainer Bawidamann
Packit 667938
           rainer.bawidamann@web.de. You can find a copy on Rainers website:
Packit 667938
           http://my14all.sourceforge.net/ The program comes with its own
Packit 667938
           documentation
Packit 667938
Packit 667938
       r?ro?ou?ut?te?er?rs?s2?2.?.c?cg?gi?i
Packit 667938
           This is another CGI frontend for mrtg running with rrdtool. The
Packit 667938
           main difference between this and 14all is that the web pages it
Packit 667938
           creates are much more stylish than the ones from mrtg, plus they
Packit 667938
           support User Defined summary graphs and different levels of
Packit 667938
           Authentication and Authorisation. This has been written by Steve
Packit 667938
           Shipway (steve@steveshipway.org). You obtain a copy, and find a
Packit 667938
           forum and demonstration system at
Packit 667938
           http://www.steveshipway.org/software/ The program comes with its
Packit 667938
           own installation instructions and install script.
Packit 667938
Packit 667938
       m?mr?rt?tg?g-?-r?rr?rd?d
Packit 667938
           The mrtg-rrd script is a CGI/FastCGI application by Jan "Yenya"
Packit 667938
           Kasprzak for displaying MRTG graphs from data in the RRDtool
Packit 667938
           format. It is an intended replacement for the 14all.cgi script. It
Packit 667938
           can make your monitoring system faster because MRTG does not have
Packit 667938
           to generate all the PNG files with graphs every 5 minutes or so.
Packit 667938
           Instead of this the graphs are generated on-demand when the user
Packit 667938
           wants to see them. http://www.fi.muni.cz/~kas/mrtg-rrd/
Packit 667938
Packit 667938
F?FU?UT?TU?UR?RE?E
Packit 667938
       Just as a side note: MRTG-3 will be based entirely on rrdtool
Packit 667938
       technology.  But don't wait for it ... get going n?no?ow?w!
Packit 667938
Packit 667938
A?AU?UT?TH?HO?OR?R
Packit 667938
       Tobias Oetiker <tobi@oetiker.ch>
Packit 667938
Packit 667938
Packit 667938
Packit 667938
2.17.7                            2018-07-13                       MRTG-RRD(1)