Re: mib2c question.

2006-03-02 Thread Dave Shield
On Fri, 2006-02-24 at 12:03 +0100, Palmentieri Nunzio wrote: > I wrote a MIB with several table objects. > How can I generate code for it? > I think I have to run mib2c on both the tables, and then compile the > code generated, as follows: > > mib2c peProcessTable > mib2c peObjectTable That's ce

Re: mib2c question.

2006-02-24 Thread Raffles
I don't know about tables specifically, but in general the other way (i.e. apart from using a sub-agent) is to build your stuff into the agent directly. You compile your MIB definition files using an appropriate mib2c config file and then drop the output files in the agents/mibgroup folder in th