accessing subagent requests

Mike Smith <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <BY2PR05MB71234C09425D998D0CD867CDCD50@BY2PR05MB712.namprd05.prod.outlook.com>
Hi,
I'm trying to build a "Bridge" to connect my data model to a net-snmp subagent.  The MIB defines some tables, each identified by several columns with from 1 to 3 indices, depending on specific table.

I have an interface API into my data storage (external) which can quickly provide any data item selected by the table, column, and indices.  Thus, I need to connect the snmp request to my API Request directly.  My data API can return information on whether the specific item is available (provides present value), if the item is temporarily unavailable (offline, value is unreliable), or if the value does not exist (was never defined, or row does not exist).

mib2c seems to expect that it will provide iterator code to do the lookup in a database, which is not what I believe I need.  There must be a way to simply receive the table ID, the column indicator, and the indices from the subagent (via callback) and operate on them directly.

Could anyone provide suggestion on how to achieve this, i.e., simply bypass the iterators that mib2c code might produce and directly convert the request into the proper access values?  What registrations/flow are necessary within the subagent?

I don't find any wiki discussion that seems applicable.

Thanks, =mike smith

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

_______________________________________________
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.