Re: scotty trap question ?

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Tue, 9 Jul 1996 14:37:07 +0200

frs0139@trt-philips.fr (Damien WETZEL) wrote:

> Im using the '$s bind "" trap' scotty command to retrieve and
> using the %V i can get only the varbind list .
> Is there a way to get the Trap Header to retrieve the generic trap and
> the Specific Trap fields ?

The scotty API is based on the SNMPv2 SMI and hence there is no
concept of generic/specific trap numbers. Every received SNMPv1 trap
is converted to an object identifier as described in section 3.1.2 of
RFC 1908. If you need to access the generic/specific trap number (for
what reason?), extract the values from the trap object identifier.

Juergen