[mrtg] .log files gets reset automatically
Steve Shipway
s.shipway at auckland.ac.nz
Mon May 26 01:19:42 CEST 2008
Do you have any periodic cronjobs running on your server that look for (and delete) any and all *.log files? If so, they'd be deleted, and the next run of MRTG would recreate them as empty.
If you do have such a job, severely... re-educate... the person who wrote it, since doing a "find / -name *.log -exec rm {} \;" is just stupid coding. It should be restricted to a specific tree that is known to be safe.
Steve
________________________________
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Cihan Subasi (Garanti Teknoloji)
For the last 2-3 months at midnight Central Time (GMT+6) I started havind some of my .log files started to be reset without my intention. Is there a reason for that? I assumed first because my .log file size reaches a limit but some of the .log files arent't even 100K big.
What could be reason of having my .log files to reset as they are run first time? thanks
This message and attachments are confidential and intended solely for the individual(s) stated in this
message. If you received this message although you are not the addressee, you are responsible to keep the
message confidential. The sender has no responsibility for the accuracy or correctness of the
information in the message and its attachments. Our company shall have no liability for any changes
or late receiving, loss of integrity and confidentiality, viruses and any damages caused in
anyway to your computer system.
Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve gizlidir. Bu mesajin muhatabi
olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune
uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve
guncelligi konusunda gonderenin ya da sirketimizin herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz
mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin
korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan
sorumlu tutulamaz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080526/e5884461/attachment.html
More information about the mrtg
mailing list