RE: Using Trap Sink

Bensen Chiou (bchiou@mail11.mitre.org)
Thu, 1 May 97 11:34:08 -0400

>
> I am trying to follow the "Getting started with Tkined" and
> have run into a problem when attempting to listen for v1 traps(Trap
> Sink). The main problem is that I never receive anything even
> though I know traps are being sent - ie using snmptrap from(ie
> cmu-snmp-linux-3.2) another machine to the machine running
> tkined/scotty. I know the traps are received becacuse when
> I run snmptrapd -v 1 -s(also from cmu-snmp-linux-3.2) from
> the monitoring machine(after I have stopped scotty) the traps
> are logged in syslog correctly. Also when scotty is running and
> Trap Sink listen is enabled a netstat shows snmp-trap listening
> correctly.
>

I'm having problem in using scotty trap too.

I'm running scotty 2.0.2 on SunOS 4.1.3U1. On the machineA, I started
SNMP monitor to listen. I got an error message "straps: ACCEPT: no such file
or directory" which is the error message I put in straps.c in the
block in accepting new client. I used the command
perror("straps: ACCEPT")
I'm not sure if this caused the error "no such file or directory".

My other problem is to use scotty to send trap from machineB to machineA.
I used the following command on machineB:

/usr/local/bin/scotty
snmp session -address 129.83.22.165 -community public
snmp0 trap coldStart {{sysDescr.0 "TestTrap"}}

The IP address of machineA is 129.83.22.165. There is no trap message
received on machineA. I put a debug message in straps.c too to make
sure that the trap message is received in straps.

Can scotty be used to send a trap message?

Thanks,

Bensen Chiou, bchiou@mitre.org

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