Re: Unable to send SNMP v2 traps by following the tutorial

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYp8xVwy6JkL58S0Be90uCOspgQcxisLq6viQoRnD4tAQ@mail.gmail.com>
On 14 September 2011 14:44, Disc Magnet <[email protected]> wrote:
> I have the following content in
> C:\usr\share\snmp\mibs\UCD-NOTIFICATION-TEST-MIB.txt:
>
>        UCD-NOTIFICATION-TEST-MIB DEFINITIONS ::= BEGIN
>              IMPORTS ucdExperimental FROM UCD-SNMP-MIB;
>
>        ucdNotificationTestMib MODULE-IDENTITY
>          -- omitted

Why is this block omitted?

Note that the next (non-empty) line is line 7 ...

>        demotraps  OBJECT IDENTIFIER ::= { ucdExperimental 990 }


>        Expected LAST-UPDATED (demotraps): At line 7 in
>        C:/usr/share/snmp/mibs/UCD-NOTIFICATION-TEST-MIB.txt

Which is exactly where the errors are reported.


The MIB parser is expecting to see a full MODULE-IDENTITY clause.
Instead you have given it an empty one.



> Please help me to understand what I am doing wrong and fix it.

Hmmm....   I wonder what the problem might be.....

Dave

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.