#!/bin/sh | |
. ../eval_tools.sh | |
HEADER SNMPv2c traps received and sent by tools | |
SKIPIF NETSNMP_DISABLE_SNMPV2C | |
# | |
# Begin test | |
# | |
CONFIGTRAPD authcommunity log testcommunity | |
CONFIGTRAPD agentxsocket /dev/null | |
STARTTRAPD | |
CAPTURE "snmptrap -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 "coldStart" | |
FINISHED |