[mrtg] Graph history being overwritten

Troy Lea troy_lea at hotmail.com
Thu Jun 29 23:42:30 CEST 2017


With RRD files there is an rrdmerge script that will import the old data into the new files:


I can't find the original download I used but it looks like this one is the same.


https://bitbucket.org/flyingcircus/rrdmerge

<https://bitbucket.org/flyingcircus/rrdmerge>

The only consideration required is that the architectures of the old machine and new machine must be the same (i.e. x86_64). <https://support.nagios.com/kb/article/nagios-xi-migrate-performance-data.html>


Otherwise you need to export to an XML file first. This KB article explains how to do an export/import https://support.nagios.com/kb/article/nagios-xi-migrate-performance-data.html


Good luck.

________________________________
From: mrtg <mrtg-bounces+troy_lea=hotmail.com at lists.oetiker.ch> on behalf of Edwin A. Epstein III <ed at rhinobee.com>
Sent: Friday, 30 June 2017 5:01 AM
To: mrtg
Subject: [mrtg] Graph history being overwritten

Hi,

I find myself needing to restore some graphs after a server died. MRTG is working on a new server without issue, except for the fact it overwrites all files placed on it.

When I copy in the .old and .log files for a target and initiate MRTG it always replaces the entirety of the two files with zeros and the graph history is gone. In some cases, we have graph history going back 2 years or more.

What is the best way to restore these old files? Additionally, what is the best way to merge old data, or two graphs into one?


Sincerely,

Edwin A Epstein, III
Rhinobee Internet Services


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20170629/7ace656d/attachment.html>


More information about the mrtg mailing list