Bug 79757 - Default syslog logging pollutes log file
Summary: Default syslog logging pollutes log file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ucd-snmp
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
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.

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


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