[mrtg] Switching from native mode to including RRD and Routers2
Niall O'Reilly
niall.oreilly at ucd.ie
Thu Apr 16 11:25:02 CEST 2015
On Tue, 14 Apr 2015 23:39:59 +0100,
Steve Shipway wrote:
>
> There exists a utility script called log2rrd.pl that converts an MRTG .
> log file to its .rrd equivalent. Once you have done this, you can
> simply add “Logformat: rrdtool” to the MRTG .cfg files (you may also
> need to add LibAdd if you have not done a site-perl install of
> RRDTool) and it will work. Routers2 just needs to be pointed at the
> cfg files and the rrd files.
In my experience, it has been enough to change LogFormat, add
LibAdd, and restart MRTG. Unless things have changed, MRTG will
detect the .log file and use the data there to populate an
automatically-generated .rrd file.
IHTH
Niall O'Reilly
More information about the mrtg
mailing list