Setting Logging Priorities via Syslog not possible

Bug #369577 reported by David Zumbrunnen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

'snmpd' is filling up my daemon.log file. So I want to just log, what's really important.

Specifying customized logging (-L parameter for $SNMPDOPTS) in /etc/default/snmpd does not work with log priorities with syslog facilities. Example:

    SNMPDOPTS='-LS 0-4 d -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'

does not work. According to the man pages (snmpcmd(5)) this should work. And it works on my Hardy servers, in fact.

Starting 'snmpd' with "-LS 0-4 d" results in:

    invalid syslog facility: -

According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486875 this is a known problem and has been patched.

Either calling snmpd with "-LS 0-4 d" is deprecated and should be updated in the man pages or something else needs upgrading/to be fixed (new/patched version of libsnmp or something).

Package/Version: snmpd 5.4.1~dfsg-12ubuntu3

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package net-snmp - 5.4.1~dfsg-12ubuntu4

---------------
net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low

  * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility".
   (LP: #369577)

 -- Chuck Short <email address hidden> Wed, 24 Jun 2009 14:44:51 -0400

Changed in net-snmp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.