Asterisk + snmptraps

Hi there, people,

In a web asterisk platform in which I’m working, we’ve been asked to fully implement snmp with traps and also send those traps via email.

So far I’ve been able to successfully configure snmpd to work with asterisk (agentXsocket and all that). I’m able to see the server on Nagios or opennms using ASTERISK and DIGIUM mibs. I’ve created sort of a category that only sees elements in asterisk’s OID (.1.3.6.1.4.1.22736).

On the other hand, the snmptraps part of the project has been a nightmare. I’ve read a few tutorials as well as man pages but don’t seem to get it right (I’m not even sure you can send traps related to asterisk).
Has anyone implemented this or has more info about snmptraps that I can use?

Regards