I'm running Cacti on RH Linux, and I ran out of disk space. After looking around, I noticed I had a 300+ Meg rrd.log file.
I could not find any posts about this, so I want to know if I can rotate that file so I don't run out of disk space? Is it important to keep all that data?
Thanks,
Chuck
rrd.log file too big...
Moderators: Developers, Moderators
use logrotate
I added it to the syslog under /etc/logrotate.d/
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /usr/local/cacti/log/rrd.log {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
Also, what options are you logging?
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /usr/local/cacti/log/rrd.log {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
Also, what options are you logging?
Re Use logrotate
That's what I was thinking of using, I just didn't want to lose graph data or something because I don't know how RRD works completely.
I'm also not sure what I'm logging. Someone else set this up, and I'm just coming in to try and finish it..
Thanks for the info.
Chuck
I'm also not sure what I'm logging. Someone else set this up, and I'm just coming in to try and finish it..
Thanks for the info.
Chuck
Who is online
Users browsing this forum: No registered users and 0 guests