Re: (Fwd) Traps

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Thu, 12 Dec 1996 21:35:39 +0100

"John O'Grady" <john@euristix.ie> said:

John> I am trying to write to write Tcl scripts to
John> send traps from a Scotty agent to a Scotty manager. Ports 161 and 162
John> are not available to me as they are in use. An extract of the agent
John> script follows:

[snip]

Looks good so far.

John> The extract from the manager script is as follows:

[snip]

John> What I need to know is how does the Scotty manager become aware of
John> the trap? Should there be any output on the Scotty manager window?
John> The trap seems to be going out ok - ie no complaints from Scotty.
John> There is no evidence of the trap being generated at the manager end ,
John> however.
John> What do I need to do to be able to generate a trap at the agent end
John> and be able to view the trap details at the manager end?

Two things your should know: First, you have to bind a Tcl script to
receive trap events. See the snmp(n) man page and the
tnm/examples/snmptrapd example. The second thing you should know is
that the Tnm extension currenytly not able to receive traps on
arbitrary ports. So you are in trouble here.

Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)