> I got a mib from http://unix.temple.edu/~jmulik/snmp/
> JM-TEST-1-MIB DEFINITIONS ::= BEGIN
> 
> IMPORTS
>          MODULE-IDENTITY,
>          OBJECT-TYPE,
>          INTEGER
>                  FROM SNMPv2-SMI;
> 
> jmtest MODULE-IDENTITY
>         :
>      ::= { experimental 72}
> END
> 
> now when i issue the command
> # snmpget -v 1 -c democommunity localhost firstKey.0
> the response is
>    Unlinked OID in JM-TEST-1-MIB: jmtest ::= { experimental 72 }

That's because the MIB is broken.  It's using the identifier name
'experimental', but doesn't either define this itself, or list it
in the IMPORTS section.
  I don't think it should be importing INTEGER either (since that's
part of the underlying ASN.1 syntax).

Try editing the file to change "INTEGER" into "experimental"
and try again.

Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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