[tkined] automate SNMP testing

Qiu Jin (Qiu.Jin@mail.sprint.com)
Wed, 7 Apr 1999 16:42:25 -0500

--openmail-part-0d7576c3-00000001
Content-Type: text/plain; charset=ISO-8859-1; name="BDY.RTF"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="BDY.RTF"

This question is about synchronization of received traps by bind
command.

I try to use tnm to automate SNMP testing. The test has following steps:
1) Set mib variable pluginAdminState.3.3 down
2) The traps should be received within 10 sec.
3) If four traps are received then the test result will be PASS;
otherwise, the test result will be FAIL.

I use snmp# bind "" trap "traphandler %A %V" command in my script.
Where should I put the code to determine the test result? Any sample
program I can refer to?

Seems like that the scotty script will first execute all the commands
after snmp# bind "" trap "traphandler %A %V"; and then, if there are
traps in the queue, it will call traphandler. Correct me if I
misunderstood.

Thanks
Qiu

--openmail-part-0d7576c3-00000001--

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.