Re: mib2c - More the one node and type in the Mib File

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 09/08/06, Boris von Alten Blaskowitz <[email protected]> wrote:
>              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.

You'll have to ask Robert about that - he's the expert on the MfD framework.

> My question now is, can I use my root node and once run "mfd" and the also
> with the root note use "scalar"?

That should work - I think.  (but untested!)

>                            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?

I don't think so - my *belief* (and I've never really used the dlmod
approach to any great extent), is that

    "dlmod  someName   /path/so/some/module.so"

will load the named library file, and invoke the routine "init_someName".
If you need to run several init routines, then you'll need to craft a
suitable 'init_someName' function to do this:

    void init_someName() {
        init_this();
        init_that();
        init_theOther();
    }

Dave

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.