Bug 79757 - Default syslog logging pollutes log file
Summary: Default syslog logging pollutes log file
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ucd-snmp
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2002-12-16 17:13 UTC by Andrew E. Mileski
Modified: 2015-03-05 01:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2003-02-06 14:01:40 UTC

Attachments (Terms of Use)

Description Andrew E. Mileski 2002-12-16 17:13:26 UTC
Description of problem:
The init.d script starts the daemon with option switch '-s' to enable logging
using syslog.  This results in a lot of syslog pollution, as _every_ connection
packet is logged.  This is especially noticeable when running with MRTG, which
polls several times every 5 minutes.  The messages don't provide inportant info,
so they don't belong in the main log.

Dec 15 04:05:06 martika net-snmp[948]: Connection from udp: 
Dec 15 04:05:06 martika net-snmp[948]: Received SNMP packet(s) from udp:

Remove the '-s' switch and configure /var/log/snmpd.log for rotation.

Comment 1 Oliver Schulze L. 2003-02-06 13:54:45 UTC
the -s switch is for security reasons.
And the current ucd-snmp package does have a logrotate entry.

I think can be closed as RESOLVED.

Comment 2 Phil Knirsch 2003-02-06 14:01:40 UTC
Thats correct.

Read ya, Phil

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