Re: Several subagents to handle different rows of a table

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 06/10/2007, <[email protected]> wrote:
> I have a mib with a table and I would like to have two subagents handling
> two different subsets of rows. Is it 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.


>                                                       I have two indexes for this
> table. It would be nice to have a subagent that handles all the rows with
> first index equal to 1 and the other subagent handling those with first
> index 2.

Unfortunately 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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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.