Re: SNMPv2 Trap

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Thu, 28 Sep 1995 19:36:46 +0100

Hi!

jsong@nlc.com (James Song) said:

James> I don't know if the scotty can parse the SNMPv2 trap. I am using
James> the snmpperl to send the trap. Scotty parses the trap all right
James> and I am thinking that snmpperl is sending SNMPv2 trap. Now I
James> have an agent that is developed with using the development
James> toolkit from SNMP Research. Scotty seems to fail to parse the
James> SNMPv2 trap from that agent since the trap handler does not
James> pass the trap to the trap handler proc. I don't see any failure
James> message from scotty, either. I wonder what the scotty does when
James> it fails to parse a trap. Any help is greatly appreciated.

Scotty discards packets that seem to be broken or not authentic.
However, there might be bugs in the trap handling code that did not
show up yet. You should turn on the debugging mode using the
`snmp watch on' command. Scotty should print the hex dump of the SNMP
trap packet. If Scotty does not print the hex dump, it is very likely
that you have problems running the straps daemon or something like this.
If you are able to get the hex dump of the packet (and it is ok for you
to give it away), just send it to me and I will take a look at it.

Juergen