From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Description of problem: The default configuration of mrtg uses cron to run. Each time that mrtg runs it makes an entry in /var/log/messages. Since mrtg runs 288 times (24 hours * 12 times per hour) every day this adds up quickly and can make analyzing the log file more difficult. This can be solved by adding RunAsDaemon: Yes Interval: 5 to /etc/mrtg/mrtg.cfg as well as making a startup file in /etc/init.d/ I believe this would make a better default configuration. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: install mrtg Additional info:
Created attachment 111417 [details] startup script for /etc/init.d/
The default configuration is that mrtg does nothing at all; running an additional daemon that does nothing is somewhat a waste. Another issue is that it would be quite hard to automatically migrate from the cron setup (including users editing /etc/cron.d/mrtg, changing the rule or even the command) to the init.d setup. Finally, the 288 entries in /var/log/cron a day are easy to filter out using grep. Taken together, I don't think this change is worth it... sorry.