Re: : use "TRAP-DEFINITION" not "TRAP-TYPE"
- From: dperkins@xxxxxxxxxxxx
- Date: Wed, 18 Jan 2006 06:53:08 +0000
HI,
You didn't show us the complete MIB module, but I'm guessing
that the MIB modle is in SMIv2 format, but the notifications
are defined using the TRAP-TYPE construct and not the
NOTIFICATION-TYPE construct. You may ask how do you
determine if a MIB module is in SMIv1 or SMIv2 format?
The format is specified implicitly by the definitions
that you IMPORT. You cannot legally import both the
definitions of SMIv1 and SMIv2 constructs. Which
ever are imported defines the format of the MIB module.
On Wed, 17 Jan 2006, Suma wrote:
> Hai All,
>
> I am using a tool called simple tester, when I compile the mibs it is
> generating one common error : use "TRAP-DEFINITION" not "TRAP-TYPE".
>
> and this is the syntax what I am following.
>
> bundleDownTrap TRAP-TYPE
> ENTERPRISE bundleTraps
> VARIABLES {
> bundleNameStr,
> bundleDownCause,
> bundleContactInfo,
> bundleDescrInfo
> }
>
> DESCRIPTION
> "Trap being generated when a bundle goes down."
> ::=
>
> could anybody tell me, what is wrong with this syntax.
>
> Thanks,
Regards,
/david t. perkins
.
- Follow-Ups:
- Re: : use "TRAP-DEFINITION" not "TRAP-TYPE"
- From: Frank Fock
- Re: : use "TRAP-DEFINITION" not "TRAP-TYPE"
- References:
- : use "TRAP-DEFINITION" not "TRAP-TYPE"
- From: Suma
- : use "TRAP-DEFINITION" not "TRAP-TYPE"
- Prev by Date: Req :SNMP Tools
- Next by Date: Re: monitoring software application
- Previous by thread: : use "TRAP-DEFINITION" not "TRAP-TYPE"
- Next by thread: Re: : use "TRAP-DEFINITION" not "TRAP-TYPE"
- Index(es):