Log file management
Cacti is able to create a log file with information on what it is doing, but depending on the log settings, this log file can become huge and can stop Cacti from working properly. Therefore you will need to introduce some log file management.
Fortunately, Linux comes with a tool for this called logrotate
. This tool is able to manage any log file on the system and is already configured to do so for most of the files in /var/log
. Let's look at how you can configure it to also manage your Cacti logs.