next up previous contents
Next: The Trap Daemon Configuration Up: The Cuddletech Guide to Previous: The Net-SNMP PERL Module   Contents

Trap Handlers

Most SNMP enabled devices have the ability to send traps. The SNMP agent on the device will send a message to a predefined trap host when some event occurs triggering the trap. A trap host should have a snmptrapd trap daemon running thats waiting for the traps. The daemon has a simple configuration file (snmptrapd.conf) that outlines how each trap should be handled. Based on this configuration file the trap information is sent to one or more trap handlers which are custom applications or scripts that process the trap information and do something with it such as logging them or paging someone.