hey samy,
thanks for tht.
Also just one more thing i have been trying to access enums defined in the
MIB how can i access them.
The mib2c man page gives a mechanism to check if a enum is defined to
nothing to access the range of values in the enum
Is there a way to do it
-SIGTERM
amit
> --- Ursprüngliche Nachricht ---
> Von: <[EMAIL PROTECTED]>
> An: <[EMAIL PROTECTED]>
> Kopie: <[EMAIL PROTECTED]>,
> <[email protected]>
> Betreff: Re: mib2c
> Datum: Wed, 8 Mar 2006 09:51:33 +0530
>
>
> 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
>
>
>
>
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies
of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
The
> company accepts no liability for any damage caused by any virus
transmitted
> by this email.
>
> www.wipro.com
--
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders