Munin - large log files
Is there a way to clean out munin log files or move munin log files to another partition?
Some of the munin logs in /var/log/munin have grown quite large, over 2GB. The /var partition on the server is running low on disk space. Can I just move /var/log/munin to the /home partition or something and create a symlink back to /var/log/munin ?
-
Hello :), Yes, you can move your munin logs to /home partition. Move your /var/log/munin directory to /home and symlink /var/log/munin to /home/munin directory 0 -
Hello :) You could use LogRotate to rotate the log files. Here's an example on a third-party URL on setting it up: Centos/Linux setting logrotate to maximum file size for all logs Thank you. 0
Please sign in to leave a comment.
Comments
2 comments