Need Help w/ Reducing Cacti Space
Moderators: Developers, Moderators
Need Help w/ Reducing Cacti Space
So I've noticed Cacti over the years is eating up more and more space. My only thought is that this is due to log files. Is there a way to limit the size of log files or how long they're kept? If I'm wrong, what else could be eating up all that space as Cacti is the only thing on this server?
information wants to be free
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Need Help w/ Reducing Cacti Space
Under Unix you can use logrotate to keep the log files small and have them maintained automatically. See this post here for some examples:
http://forums.cacti.net/post-99911.html
http://forums.cacti.net/post-99911.html
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Need Help w/ Reducing Cacti Space
Looking into this to learn more about my own new cacti install, I see this is already taken care of, on newer Ubuntu installs.
[/size]
Linux ubuntu 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013
Code: Select all
userland@ubuntu:/etc/logrotate.d$ cat cacti
/var/log/cacti/*.log {
weekly
missingok
rotate 52
compress
notifempty
create 640 www-data www-data
sharedscripts
}
Linux ubuntu 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013
Who is online
Users browsing this forum: No registered users and 0 guests