Re: Using scotty to catch traps

Cameron Laird (claird@Starbase.NeoSoft.COM)
Mon, 24 Feb 1997 19:23:41 -0600 (CST)

From owner-tkined@ibr.cs.tu-bs.de Mon Feb 24 17:22:15 1997
.
.
.
Charles> I am having some trouble using scotty as a trap monitor.
.
.
.
Charles> I have tried the following simple test, and have had no luck:

Charles> mib load traps.asn
Charles> set session [snmp session -address myadddress]
Charles> $session bind "" trap { echo 'got one'}

Make sure that the session uses the correct community string.
.
.
.
Even more crucially, I'd guess, you'll want

set session [snmp session -address $MYADDRESS -port 162]

Cameron Laird http://starbase.neosoft.com/~bodi/nesi.html
Network Engineered Solutions +1 713 763 8366
claird@NeoSoft.com +1 281 996 8546 FAX
Houston WWW Business Guide: http://starbase.neosoft.com/~bodi/HouGuide.html

--
!! 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.