#!/bin/sh

. ../eval_tools.sh

HEADER SNMPv2c informs received and sent by tools

SKIPIF DISABLE_SNMPV2C

#
# Begin test
#

CONFIGTRAPD authcommunity log testcommunity
CONFIGTRAPD agentxsocket /dev/null

STARTTRAPD

CAPTURE "snmptrap -Ci -t $SNMP_SLEEP -d -v 2c -c testcommunity $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPTRAPD_PORT 0 .1.3.6.1.6.3.1.1.5.1 system.sysContact.0 s blah"

STOPTRAPD

CHECKTRAPD "Received"

FINISHED
