Re: mib2c - More the one node and type in the Mib File
Boris von Alten Blaskowitz <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, thanks for the fast answer. One more question, I tried to run mib2c with configuration "mfd" of root node in my mib file and it started with the first table, but then it stoped and I had just the headerfile. My question now is, can I use my root node and once run "mfd" and the also with the root note use "scalar"? The next point is, does the agent call automatically all init_xxx function when the SO-Lib is loaded, so all handels are resisted in net-snmpd-agent? Regardes, Boris Dave Shield schrieb: > On 09/08/06, Boris von Alten Blaskowitz <[email protected]> wrote: >> I have a big mib-file with all kind of types(table, int, ...) and like >> to make only one SO-library with all handlers inside. Is this possible >> in general? > > Yes. > >> Is there one mib2c configfile what I can use? > > No. > >> Or do I have to call mib2c for each note? > > For each _group_ of nodes - yes. > The usual approach would be to run mib2c on each table separately, and > then again for all the scalar objects. (Though some of these might > fit better within one or other of the table > handler files.) > > Note that you can always link several .o object files into a single > .so library. > Depending on the mib2c template you use, it might even be possible to > merge the output of mib2c into a single code file. But it's probably > clearer to keep them separate, and just link everything together into > the one library. > > Dave > -- Boris von Alten Blaskowitz Product Manager NCP engineering GmbH Dombuehler Str. 2, D-90449 Nuernberg, Germany Phone: +49 911 9968 125, Fax: +49 911 9968 458 E-Mail: [email protected] Internet: http://www.ncp.de ___________________________________________________________ NCP Secure Communications Remote Access Software for Corporate VPN & PKI Solutions Was unsere Kunden sagen: http://www.ncp.de/deutsch/unternehmen/kundenzitate/index.html ___________________________________________________________ Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. This e-mail message including any attachments is for the sole use of the intended recipient(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users