5 HEADER authentication failure traps are sent by snmpd
11 # standard V1 configuration: testcomunnity
13 # add in a v1 trap sink
14 CONFIGAGENT trapsink localhost public $SNMP_SNMPTRAPD_PORT
15 CONFIGAGENT authtrapenable 1
21 # give the agent more time to start up. We only want to fire one
22 # request (retries = 0) to make sure only one trap is sent.
24 CAPTURE "snmpget -On -r 0 -t 5 $SNMP_FLAGS -v 1 -c wrongcommunity udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
30 CHECKTRAPD "Authentication Failure Trap"