Bug 149678 - Fills the logs with entries
Fills the logs with entries
Product: Fedora
Classification: Fedora
Component: mrtg (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-02-24 18:46 EST by Mike Poublon
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-24 19:01:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
startup script for /etc/init.d/ (865 bytes, text/plain)
2005-02-24 18:50 EST, Mike Poublon
no flags Details

  None (edit)
Description Mike Poublon 2005-02-24 18:46:14 EST
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:

Steps to Reproduce:
install mrtg

Additional info:
Comment 1 Mike Poublon 2005-02-24 18:50:21 EST
Created attachment 111417 [details]
startup script for /etc/init.d/
Comment 2 Miloslav Trmač 2005-02-24 19:01:40 EST
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.

Note You need to log in before you can comment on or make changes to this bug.