Ok, thanks! I'll do it.
2010/12/23 Dave Shield <[email protected]>
> On 23 December 2010 00:32, Luis QuaggaSnmp <[email protected]> wrote:
> > I'm not sure how to use "mib2c" when I have a MIB with different OIDs, I
> > read that I have to use "mib2c" with conf templates, for example, with
> > integer template, but, if the MIB has differents "OBJECT-TYPE" ?
>
> If you use the 'mib2c.scalar.conf' template, then this will generate code
> for *any* scalar object in the MIB - both integers and other types.
>
> There are also several possible templates for use with MIB tables.
> See the FAQ for more information.
>
>
> > For example, I have RIPv2-MIB.txt. It's a big MIB. And I can read:
> > OBJECT-TYPE' s of "Counter32" and "OCTET STRING", so on...
> >
> > So, Have I to use the mib2c as many times as OIDs of .txt file?
>
> No.
> Typically you would run it once to handle all the scalar objects,
> and once for each table.
>
> Dave
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders