R: mib2c question.

2006-03-02 Thread Palmentieri Nunzio
Title: R: mib2c question. Yes, I did it manually, that is, I generated the modules: peProcessTable.c  peProcessTable.h peObjectTable.c peObjectTable.h I created a new file.c containing all functions coming from the two originated files (peProcessTable.c and peObjectTable.c) and I included

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

mib2c question.

2006-02-24 Thread Palmentieri Nunzio
Title: Messaggio Hi all, my question is:   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   and then compile them to obt

Re: Urgent: mib2c question

2004-12-29 Thread Dave Shield
> Is the mib2c tool capable of creating the skeleton code for a > NOTIFICATION-TYPE object? Try mib2c -c mib2c.notify.conf myTrap Dave --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT

RE: Urgent: mib2c question

2004-12-20 Thread William R. Buckley
D] Behalf Of Mike > Mohamet > Sent: Monday, December 20, 2004 12:01 AM > To: Net-Snmp-Users (E-mail) > Subject: Urgent: mib2c question > > > Hi all, > > Is the mib2c tool capable of creating the skeleton code for a > NOTIFICATION-TYPE object? Or I have to write it

Urgent: mib2c question

2004-12-20 Thread Mike Mohamet
Hi all, Is the mib2c tool capable of creating the skeleton code for a NOTIFICATION-TYPE object? Or I have to write it myself from the beginning? Thanks, Mike --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on