Debian Codegraph @

testing/fulltests/default/T052snmpv2cinform_simple

raw
1 #!/bin/sh
2
3 . ../support/simple_eval_tools.sh
4
5 HEADER SNMPv2c informs received and sent by tools
6
7 SKIPIF NETSNMP_DISABLE_SNMPV2C
8 SKIPIFNOT USING_MIBII_VACM_CONF_MODULE
9
10 #
11 # Begin test
12 #
13
14 CONFIGTRAPD authcommunity log testcommunity
15 CONFIGTRAPD agentxsocket /dev/null
16
17 STARTTRAPD
18
19 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"
20
21 STOPTRAPD
22
23 CHECKTRAPD "Received"
24
25 FINISHED