Trap reception problem from scotty

Patrice DRONNIER (P.Dronnier@frec.bull.fr)
Wed, 07 May 1997 11:33:01 +0200

Hello,

These are the installed freeware on my AIX 4.1.4 machine :
freeware.scotty.rte 2.1.5.0 C Scotty TCL extension for
Network
freeware.tcl.rte 7.5.1.1 C TCL Scripting languagetools
freeware.tk.rte 4.1.1.1 C Tk - X11 toolkit based on
tcl

We have written a scotty program (named "poll_router") that polls a
MOTOROLA router MPR6520 and tries
to receive traps from it. You will find hereafter the source code of
this program.
When running the poll_router program, the tnm/snmp straps program (the
trap forwarding program) is launched and receives the traps
generated by the router. We put traces in the straps program to check
that point.
The poll_router program connect the straps via an Unix socket. This part
seems to be correct, but it do not succeed to get the traps from straps.
We have put traces in the tcl sources and we noticed that the TrapProc
call-back procedure was never called. It seems that the poll_router
program never knows if something is available in the Unix socket.
Do anybody has already experienced such problems ?
Thank you for your help or advices.
Regards.
Patrice Dronnier

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