X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=userapps%2Fopensource%2Fnet-snmp%2Flocal%2Fsnmpconf.dir%2Fsnmpd-data%2Ftrapsinks;fp=userapps%2Fopensource%2Fnet-snmp%2Flocal%2Fsnmpconf.dir%2Fsnmpd-data%2Ftrapsinks;h=cc29b663879d9d76a3b71189bdc042bdc436acb9;hb=9dffd9f7659a1b28265e0dc9497343eb3d108d02;hp=0000000000000000000000000000000000000000;hpb=e48c2529a5a7e7dbf1797bb6d1bf964bc03e78a7;p=bcm963xx.git diff --git a/userapps/opensource/net-snmp/local/snmpconf.dir/snmpd-data/trapsinks b/userapps/opensource/net-snmp/local/snmpconf.dir/snmpd-data/trapsinks new file mode 100644 index 00000000..cc29b663 --- /dev/null +++ b/userapps/opensource/net-snmp/local/snmpconf.dir/snmpd-data/trapsinks @@ -0,0 +1,46 @@ +title Trap Destinations +description Here we define who the agent will send traps to. + +token trapsink +info A SNMPv1 trap receiver +info arguments: host [community] [portnum] +question 1 A host name that should receive the trap +question 2 The community to be used in the trap sent [optional] +question 3 The port number the trap should be sent to [optional] +validanswer 3 ^(\d+|)$ + +token trap2sink +info A SNMPv2c trap receiver +info arguments: host [community] [portnum] +steal trapsink + +token informsink +info A SNMPv2c inform (acknowledged trap) receiver +info arguments: host [community] [portnum] +steal trapsink + +token trapsess +info A generic trap receiver defined using snmpcmd style arguments. +info Read the snmpcmd manual page for further information. +info arguments: [snmpcmdargs] host +question 1 Specify the command line snmpcmd style options for this host +question 2 Specify the host name + +token trapcommunity +info Default trap sink community to use +info arguments: community-string +question 1 The default community name to use when sending traps + + +token authtrapenable +info Should we send traps when authentication failures occur +info arguments: 1 | 2 (1 = yes, 2 = no) +question 1 Should traps be sent when authentication failures occur? (1=yes, 2=no) +validanswer 1 ^(1|2)$ + +group trapsinks +single authtrapenable Do you want the agent to send snmp traps on snmp authentication failures? +single trapcommunity +multiple informsink Do you want the agent to send snmpv2c informs to a trap receiver +multiple trap2sink Do you want the agent to send snmpv2c traps to a trap receiver +multiple trapsink Do you want the agent to send snmpv1 traps to a trap receiver