On 20 April 2010 21:00, Mike Ayers <[email protected]> wrote:
>> From: Kavita Raghunathan [mailto:[email protected]]
>> Sent: Tuesday, April 20, 2010 12:40 PM
>
>> The following line is not liked by mib2c: Any idea why?
>>
>> IMPORTS
>>    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
>>  Integer32, Unsigned32, Gauge32,
>>    TimeTicks, Counter32, Counter64,
>>    IpAddress, Opaque, mib-2,
>>    zeroDotZero
>>        FROM SNMPv2-SMI                 -- [RFC2578]
>
>        You're trying to import standard types.  Don't do that.

No - that's normal practise.
See most standard IETF MIBs for this style of working.

I suspect that the IMPORTS section isn't being terminated properly.
It's impossible to be sure, because we haven't been given the whole
MIB file.   [**Please** give sufficient context for us to work with!!***]

But the IMPORTS clause ought to end with a semicolon.
If you forget this, then the parser keeps ploughing on through
the rest of the MIB file, treating everything it sees as a token
to import from another (unspecified) MIB module.

This problem is covered in the FAQ (entry 9 in the MIBs section)
You _did_ read through the FAQ, before posting to this list, didn't you?

Dave

>
>
>        HTH,
>
> Mike
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to