Bug 852750 - net-snmp has an optional mysql dependency since 5.5.0
net-snmp has an optional mysql dependency since 5.5.0
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-snmp (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: rc
: ---
Assigned To: Jan Safranek
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2012-08-29 09:37 EDT by DagB
Modified: 2012-09-10 08:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-10 08:52:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Gentoo 433169 None None None 2012-08-29 09:37:44 EDT

  None (edit)
Description DagB 2012-08-29 09:37:44 EDT
Description of problem:
snmptrapd can log directly to mysql now.

This requires the package to be built with mysql support, though.
The RHEL net-snmp package is not.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. emerge net-snmp.
2. follow steps noted in Description
use this in /etc/snmp/snmptrapd.conf
authCommunity log
sqlMaxQueue 140
sqlSaveInterval 9

3. run snmptrapd -t -f -n -Lo

Actual results:
Notice how snmptrapd complains about the sql-related config options

Expected results:
Complaints about missing mysql socket. (If mysql is not running)

Additional info:
Comment 2 Jan Safranek 2012-09-10 08:52:01 EDT
RHEL 6 should be quite stable and adding new dependencies at this point is not welcome. Please either use embedded perl to write your traps to a file or contact  Red Hat support with request for enhancement. I'll make sure snmptrapd is compiled with mysql in next major RHEL releases.

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