Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433169 - net-analyzer/net-snmp needs a mysql USE flag
Summary: net-analyzer/net-snmp needs a mysql USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 13:20 UTC by Dag Bakke
Modified: 2012-10-04 15:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dag Bakke 2012-08-29 13:20:20 UTC
snmptrapd can log directly to mysql now.
See:
http://www.net-snmp.org/wiki/index.php/Snmptrapd
http://fossies.org/unix/misc/net-snmp-5.7.1.tar.gz:a/net-snmp-5.7.1/README.sql

Reproducible: Always

Steps to Reproduce:
1. emerge net-snmp.
2. follow steps noted in Description
use this in /etc/snmp/snmptrapd.conf
authCommunity log 1.2.3.4
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:  
Complained about missing mysql socket

A trap handler for logging traps to a MySQL database was added in release 5.5.0.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-09-03 10:59:08 UTC
Yes I knew about it but I haven't implemented yet. Will look into it asap.

This will only be implemented for 5.7 and later though.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-10-04 15:28:02 UTC
Added to 5.7.2_rc3.