It's been a while since I fiddled with hobbit-trap.
http://cerebro.victoriacollege.edu/hobbit-trap.html
Changes:
Added installation notes for Perl, NetSNMP, MySQL, SNMPTT, and SEC. Added a PHP script that can query a MySQL database where SNMPTT stores each trap (known and unknown). Updated trap.pl script to include link to trap.php script in messages.
The general layout of the trap.php script was "borrowed" from Dan McDonald's findmac.php script that's a part of his useful "cammer" distribution: http://www.austinnetworkdesign.com/mrtg/
Added an install.sh script to install configuration files for each package. It's a crude installation script. I'd like to make it more automated someday...
The default configuration I have in the snmptt.ini file is for MySQL logging to be disabled. Enable it there and in the trap.pl if you want to see a link to the trap history on the status page.
Added mibs directory and a script to automatically download the mibs from Cisco and APC as well as make snmptt.conf files for each.
I've tar'd the various scripts and config files into a tar.gz file. There's a link on the web page.
If you find any glowing errors, please let me know.
Thanks, Andy