The problem:
In production systems there are situations where huge MIB tables are to be traversed.
Example: TCP table with hundreds of thousands of connections in it, each connection representing a row in the table.
When mib2c template mib2c.iterate.conf is used, the code requires you to hold a linked list that contains information about all these connections.
This is unacceptable in my system since it requires a lot of resource. Both for memory and time.
Another template mib2c.mfd.conf allows you to traverse the data using get_first and get_next to get the indexes. For each request the get_first is called folled by calls for get_next for each raw until the requested index is found.
This may result with hundred of thousands for functions calls and messages since the Data is external to the agent.
What I need...
I need a template that will supply me the required index as a parameter for get_next. So for example if a getNext request for index 3 is queried one should be able to retrieve the next data point from the external DB. It will be a single function all instead hundred of thousands as it is with the MFD and the Iterator.
So if there is such a template I'll be thankful if you tell me where I can find it. (By the way this how Epilogue interface used to work).
Questions:
1. Do you know of an existence of such a template (where the get_next routine will be supplied with the index)? And where can I find it?
2. Do you have any idea how to deal with such large external tables using Net-SNMP?
3. Are there any plans to fix the situation ( worked with Epilogue tool before and it is passing the index to the next functions) ?
Your help will be appreciated.
Thanks,
Shuki Sasson
Principal Engineer, Network Storage Group
EMC²
where information lives
Fax: 508 305 9026
Phone: 508 305 8515
Cell: 617 834 4258
Pager: 877 919 0794
Email: [EMAIL PROTECTED]
