Hi,
The below version will generate the templates i.e the .c and .h files.
However if after generating the templates
I want to change the MIB again i.e change tcpConnState name to
tcpConnNewState then I will see the UnLinked OID.
I think I need to remove some files just dont know where.
Much appreciated,
Garyc
ERLANG-IDS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
MODULE-IDENTITY, OBJECT-TYPE, IpAddress,Integer32,
mib-2, experimental FROM SNMPv2-SMI;
erlangIdsMIB MODULE-IDENTITY
LAST-UPDATED "200407220000Z"
ORGANIZATION "Erlang Technology"
CONTACT-INFO
" Gary Clark
Email: garyc.com"
DESCRIPTION
"The MIB module for entities implementing TCP over IPv6."
::= { experimental 90 }
psb OBJECT IDENTIFIER ::= { experimental 6 }
psbInterfaces OBJECT IDENTIFIER ::= { psb 1 }
psbSystem OBJECT IDENTIFIER ::= { psb 14 }
-- objects specific to IDS
psbBoardTable OBJECT-TYPE
SYNTAX SEQUENCE OF psbBoardEntry
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A Table containing psbDevice"
::= { psbSystem 15}
psbBoardEntry OBJECT-TYPE
SYNTAX psbBoardDetailsEntry
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A conceptual row of tcpTable"
INDEX { tcpConnState,
tcpConnLocalPort }
::= {psbBoardTable 1}
psbDetEntry ::= SEQUENCE {
tcpConnState INTEGER,
tcpConnLocalPort INTEGER,
tcpConnLocalAddress IpAddress}
tcpConnState OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Board Index identifier"
::= { psbDetEntry 1 }
tcpConnLocalPort OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Local port value"
::= { psbDetEntry 2 }
tcpConnLocalAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Ip Address"
::= { psbDetEntry 3 }
END
----- Original Message -----
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Gary Clark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 11:25 AM
Subject: Re: UnLinked OID
>
> > When I alter a name of an element in the table and make the correct
> > changes to the MIB. It then throws out the complaint of UnLinked OID.
> > When I revert back to the original change it then happily goes
> > ahead and regenerates the templates.
>
> What exactly is the change you make to the MIB ?
> Is this the same entry that the "unlinked OID" refers to?
>
> It would probably be easier to help if you provided a
> copy of the (broken) MIB.
>
> Dave
>
> PS: Please - no HTML mail. Thanks
>
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&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