Bug 79757

Summary: Default syslog logging pollutes log file
Product: [Retired] Red Hat Linux Reporter: Andrew E. Mileski <andrewm>
Component: ucd-snmpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: oliver, rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-06 14:01:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

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

Solution:
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