Never mind.  I had an extra comma:

  PortTestEntry ::=
    SEQUENCE {
        ifIndex                 InterfaceIndex,
        ifAdminSpeed            Gauge32,
        ifAdminPower            INTEGER,
    }

When I remove the , after "INTEGER" it works.

----- Original Message -----
From: [EMAIL PROTECTED]
Date: Monday, December 5, 2005 12:26 pm
Subject: What am I going wrong with mib2c?

> I know I've done this before with success -- on this MIB -- but today
> after adding another column to a table in my private MIB, mib2c 
> refusesto see my table.
> 
>  [root] # head `which mib2c`
>  #!/usr/bin/perl
>  #!/usr/bin/perl
> 
>  #
>  # $Id: mib2c,v 5.57 2004/09/10 12:30:15 dts12 Exp $
>  #
> 
>  [root] # mib2c SNMPv2-SMI::enterprises.20540.2.1.9999.1
>  writing to -
>  mib2c has multiple configuration files depending on the type of
>  code you need to write.  You must pick one depending on your need.
> 
>  You requested mib2c to be run on the following part of the MIB tree:
>    OID:                                   et9ms
>    numeric translation:                   .1.3.6.1.4.1.20540.2.1
>    number of scalars within:         3
>    number of tables within:          0
>    number of notifications within:   0
> 
> But there's a table in that MIB!  I've looked and looked at my 
> additionto the MIB and can't see any syntacic problem with it.  Is 
> there a MIB syntax verifier I can't find?  Can snmptranslate be 
> tricked into doing it?
> 
>                                               Chris
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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