From: Dave S. <D.T...@li...> - 2007-10-09 22:13:03
|
On 03/10/2007, Pete Gillin <pe...@vo...> wrote: > Short version: I have a MIB which describes a table, and I want a > number of subagents on the machine to each provide one row of that > table. When we send requests to snmpd to walk the table, it should > communicate with each subagent and pull the rows into a table. Is that > possible? In principle, yes this is possible. The AgentX protocol includes the idea of "OID ranges", which can be used to register a single row of a table. We don't have any documentation on this, so the best description is probably in the AgentX specification. > What functions should I be looking at? Is there a mib2c > configuration which will provide stub code for my subagents? No - there's isn't a mib2c config for this, or any example code. It's a feature that hasn't been used much so far (so I wouldn't like to guarantee the solidity of the code). Have a look at the AgentX RFC so you are familiar with the basic idea. Then let me know when you're happy with that, and I'll try to point you in the right direction for the code to use. Dave |