blob: 77f3a4cec5d820b1fa55234248aa0f3baa8f0cbd [file] [log] [blame]
#!/bin/sh
. ../support/simple_eval_tools.sh
HEADER SNMPv2c informs received and sent by tools
SKIPIF NETSNMP_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 .1.3.6.1.2.1.1.4.0 s blah"
STOPTRAPD
CHECKTRAPD "Received"
FINISHED