Implementing an agent

Jordi Gutiérrez Hermoso <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Does anyone have sample code on how to implement several tables with
shared and multiple indices in a subagent?

To clarify, I have a MIB which basically has 8 read-only tables. I've
figured out how to use mib2c's MfD files to implement a simple table
in a subagent, but this method seems overly verbose for 8 tables. I
tried using mib2c.generate-dataset.conf and mib2c.array-user.conf
instead to generate all of the tables in my subtree, but their
structure differs significantly from MfD, and I cannot easily figure
out the API. Furthermore, only a few of my tables are simple enough to
only have one index; the rest are more with shared and multiple
indices.

Thanks for any  help,
- Jordi G. H.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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.