MRTG-2-Database Patch Files.
These are the patch files that you will need for
patching versions of
MRTG newer than mrtg 2.10.5. These patch files have
ONLY been tested
on mrtg version 2.10.13. If someone successfully uses
this patch
against another version, please post a message at
http://sourceforge.net/forum/forum.php?forum_id=349546
(this is the
developers forum for this project on SourceForge)
HowTo:
On a linux box:
1) Go into the directory where your working mrtg file
is stored.
(for example /bin/mrtg or /usr/local/mrtg-2/bin/mrtg).
2) Type in this command: patch mrtg
/path/to/patch/patch.mrtg
3) There will be one failure: "Hunk #3 FAILED at 361"
This is not a
problem, it's just a difference between the
original mrtg 2.10.5
that I used to create the database code and the new
mrtg 2.10.13
code.
4) Go into the directory where your working MRTG_lib.pm is
stored. (for example
/usr/local/mrtg-2/lib/mrtg2/MRTG_lib.pm).
5) Type in this command: patch MRTG_lib.pm
/path/to/patch/patch.MRTG_lib.pm
6) This should be flawless.
Everything should work fine at this point.
Contains 3 files: readme, patch.mrtg, and patch.MRTG_lib.pm