🗒️ snmp Library
The snmp library provides a convenient way to generate custom traps.
Traps generated this way are sent immediately.
If you want to tie in trap generation with the alert system, then see alert.register_trap.