[mrtg] Re: Can I rename config files and not lose history?
s.shipway at auckland.ac.nz
Wed Dec 22 22:34:42 MET 2004
Chuck Coker said:
>Can I rename config files and not lose history?
If you mean the .rrd (or .log) files, then these are named according to the
Target name (ie, the thing in the  in the .cfg files). You can rename the
.cfg files to whatever you want without changing the historical data,
although you need to make sure your periodic task picks up the newly-renamed
files, especially if you are using a master.cfg file to include them all.
If you use the routers2.cgi frontend, there are a few caveats.
1) Your bookmarked URLs wil change, as these use the filename as a key.
2) If you are using graph archiving, then you will need to rename the
archive files for that config file.
3) If you are using rrd-archive then you are OK, these can cope with file
rename (but not targetname change).
4) You may need to change the cfgfiles directive in the routers2.conf if you
are not using the generic *.cfg
Some of this may also apply to 14all and mrtg-rrd, but you'll have to check
the docco for those if you use them.
(Also posted to list for benefit of other users)
Steve Shipway: ITSS, University of Auckland
Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/
** We can only discover new oceans when we have the **
** courage to lose sight of the shore. **
-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Size: 155 bytes
-- URL : http://www.ee.ethz.ch/~slist/p/60-Steve%20Shipway.vcf
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg