Title: Re: mib2c

Hi amit,

You can get the same from mib2c.

Put the following lines into mib2c.sample-header.conf

#-*-

######################################################################

## Do the .h file

######################################################################

@open ${name}.h@

@foreach $i scalar@

        #define $i $i.objectID

@end@

@foreach $i table@

    @foreach $c column@

        #define $c $c.objectID

    @end@

@end@

and run mib2c c mib2c.sample-header.conf system.

Regards,

Kanda

--__--__--

Message: 11

Date: Tue, 7 Mar 2006 20:33:31 +0100 (MET)

From: "amit limaye" <[EMAIL PROTECTED]>

To: Wes Hardaker <[EMAIL PROTECTED]>

Cc: [email protected]

Subject: Re: mib2c

wes i eventually got it work

my SMI had some line termination errors which was causing it not to find

some nodes thus throwing the errors

i set the debug level in snmp.conf  and found out tht problem downloaded a

new set MIB and everything works now.

But now i m facing one more problem

I want to generate a list OIDs from the MIB in a C Header file format

some like

#define SysDescr ".1.2.3.4.9. "

and the likes

Is mib2c capable of this or am i using the wrong tool ?


-SIGTERM

amit

Reply via email to