and added files
[bcm963xx.git] / userapps / opensource / net-snmp / local / snmpconf.dir / snmptrapd-data / traphandle
1 title           Trap Handlers
2 description     Here we define what programs are run when a trap is
3 description     received by the trap receiver.
4
5 token       traphandle
6 info        When traps are received, a program can be run.
7 info        When traps are received, the list of configured trap
8 info        handles is consulted and any configured program is run.
9 info        If no handler is found, any handler with "default" as the
10 info        traphandle type is run instead.  The information contained
11 info        in trap is passed to the program via standard input (see
12 info        the snmptrapd.conf manual page for details).
13 info        #
14 info        arguments: oid|"default" program args
15 question 1  The oid of the trap you want to handle.
16 question 2  The program you want to run  If the program is a script, specify the script program first (ie /bin/sh /path/to/script).
17 question 3  Arguments that you want passed to the program