Re: Extending an Agent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 09/05/07, Mark Riehl <[email protected]> wrote:
>  (Why does it generate all of the *~ files?)

That's the result of running "indent" on the code.



>  I'm confused about where the files need to go.

>  configure: error: mib module "jtrsMdlNeighborNodeTable" requires module
> "JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_interface"

The MfD framework seems to require a relatively "deep" structure,
as compared to most of the others, which are typically a single pair
of code files and can (in principle) be placed anywhere.
  (Though the #includes might need to be tweaked).


That's the result of running "indent" on the code.



>  I'm confused about where the files need to go.

>  configure: error: mib module "jtrsMdlNeighborNodeTable" requires module
> "JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_interface"

The MfD framework seems to require a relatively "deep" structure,
as compared to most of the others, which are typically a single pair
of code files and can (in principle) be placed anywhere.
  (Though the #includes might need to be tweaked).


>  From this error, it looks like I need to create the directory path:
>  agent/mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborTable and put
> the file in there.

Yes.

>  But, which files go here?

All of them.

Then run
   ./configure --with-mib-modules="JTRS-MDL-MIB/jtrsMdlNeighborTable/jtrsMdlNeighborNodeTable"

What happens then?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.