[mrtg] Reuse .old logfiles after rateup error

Matthew Petach mpetach at yahoo.com
Wed Feb 24 06:30:17 CET 2010

That's not how it normally works; as long as the target name
stays the same, the log file updates should resume again once
the device is pollable again.  For it not to work, there must be
some other type of problem happening.  Do you get some other
error from the mrtg output when this happens?


----- Original Message ----
> From: alfo <alfots at gmail.com>
> To: mrtg at lists.oetiker.ch
> Sent: Tue, February 23, 2010 6:28:26 AM
> Subject: [mrtg] Reuse .old logfiles after rateup error
> Hi,
> Right now, when rateup fails it stops updating the .log file and only the
> .old logfile remains in the system.  When the error is solved I am not able
> to reuse that logfile anymore (the .old one), because the timestamps are not
> udpated (basically, mrtg doesn't update them if the last one is older than X
> hours), so I'm losing the historical information in case of error.
> I was wondering if there is any script to update a .old logfile after an
> error occurs.
> Hoping I describe my problem clearly!
> Thanks in advance!
> Alfonso
> -- 
> View this message in context: 
> http://n2.nabble.com/Reuse-old-logfiles-after-rateup-error-tp4619105p4619105.html
> Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


More information about the mrtg mailing list