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.
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.
Added to 5.7.2_rc3.