**HELP!! log is too big!!

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
phriday613
Posts: 32
Joined: Thu Aug 15, 2002 10:29 am
Location: ct
Contact:

**HELP!! log is too big!!

Post by phriday613 »

the rrd.log is 34Mb!!! how can i create a logrotate file for it under linux!! it takes FOREVER to load :(

Definately an issue to address for the next release...

in the meantime, what do i do??! Cacti isnt working, and i cant tell why! it wont graph, but it shows data. I think its a cron problem, but i dont know whats up!

thanks!!
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

in the meantime, what do i do??!
Why you just don't delete it or gzip and store under different name? Cacti will create fresh new log easy to watch. Do you have any reason to keep 34 MB log of cacti operations for last month or so?

- bulek
Guest

Post by Guest »

i'll have to.. i stupidly never thought about it, thanks! Problem is opening it to check for errors..

The log gets full quick.. what about for the next release a logrotate file to compress the current log and make a new one, so that others dont get huge log files too..

just an idea..
Guest

Logrotate conf for <CACTI-PATH>/log/rrd.log

Post by Guest »

Try to create a file named cacti in your /etc/logrotate.d directory:

add the following to it: (note, change <CACTI-PATH> with actual path)

<CACTI-PATH>/log/rrd.log {
weekly
rotate 4
compress
}


Guest
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests